Spaces:
Running
Running
fix: add missing "from fastapi import APIRouter" in _agent_helpers.py
Browse files- api/_agent_helpers.py +1 -0
api/_agent_helpers.py
CHANGED
|
@@ -42,6 +42,7 @@ except Exception:
|
|
| 42 |
async def _tg_start(*_a, **_kw): pass # type: ignore[misc]
|
| 43 |
async def _tg_step(*_a, **_kw): pass # type: ignore[misc]
|
| 44 |
|
|
|
|
| 45 |
router = APIRouter()
|
| 46 |
|
| 47 |
@router.post('/run_loop', deprecated=True)
|
|
|
|
| 42 |
async def _tg_start(*_a, **_kw): pass # type: ignore[misc]
|
| 43 |
async def _tg_step(*_a, **_kw): pass # type: ignore[misc]
|
| 44 |
|
| 45 |
+
from fastapi import APIRouter
|
| 46 |
router = APIRouter()
|
| 47 |
|
| 48 |
@router.post('/run_loop', deprecated=True)
|