Spaces:
Running
Running
fix: add missing router = APIRouter() in agent_loop_routes.py
Browse files- api/agent_loop_routes.py +2 -0
api/agent_loop_routes.py
CHANGED
|
@@ -55,6 +55,8 @@ async def run_loop_removed():
|
|
| 55 |
|
| 56 |
# ββ SSE run-stream ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 57 |
|
|
|
|
|
|
|
| 58 |
@router.post('/api/agent/run-stream')
|
| 59 |
async def agent_run_stream(body: ReasonLoopIn, request: Request):
|
| 60 |
# S-BENCH: auth guard β consistente con /api/exec e /api/execute-shell
|
|
|
|
| 55 |
|
| 56 |
# ββ SSE run-stream ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
| 57 |
|
| 58 |
+
router = APIRouter()
|
| 59 |
+
|
| 60 |
@router.post('/api/agent/run-stream')
|
| 61 |
async def agent_run_stream(body: ReasonLoopIn, request: Request):
|
| 62 |
# S-BENCH: auth guard β consistente con /api/exec e /api/execute-shell
|