Baida07 commited on
Commit
bc02ff3
·
verified ·
1 Parent(s): 03e5649

fix: add missing "from fastapi import APIRouter" in _agent_helpers.py

Browse files
Files changed (1) hide show
  1. 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)