ls-engine / app /api /routes.py
Godswill-IoT's picture
Upload 69 files
9b3014a verified
raw
history blame contribute delete
338 Bytes
from fastapi import APIRouter
from app.contracts.engine_contract import EngineRequest, EngineResponse
from app.intents.run_intent import handle_run
router = APIRouter(tags=["LiveSignals"])
@router.post("/run", response_model=EngineResponse)
async def run(req: EngineRequest) -> EngineResponse:
return await handle_run(req)