forked from Rockachopa/Timmy-time-dashboard
feat: code quality audit + autoresearch integration + infra hardening (#150)
This commit is contained in:
committed by
GitHub
parent
fd0ede0d51
commit
ae3bb1cc21
@@ -8,8 +8,8 @@ from collections import namedtuple
|
||||
from fastapi import APIRouter, Request
|
||||
from fastapi.responses import HTMLResponse, JSONResponse
|
||||
|
||||
from timmy.tools import get_all_available_tools
|
||||
from dashboard.templating import templates
|
||||
from timmy.tools import get_all_available_tools
|
||||
|
||||
router = APIRouter(tags=["tools"])
|
||||
|
||||
@@ -29,9 +29,7 @@ def _build_agent_tools():
|
||||
for name, fn in available.items()
|
||||
]
|
||||
|
||||
return [
|
||||
_AgentView(name="Timmy", status="idle", tools=tool_views, stats=_Stats(total_calls=0))
|
||||
]
|
||||
return [_AgentView(name="Timmy", status="idle", tools=tool_views, stats=_Stats(total_calls=0))]
|
||||
|
||||
|
||||
@router.get("/tools", response_class=HTMLResponse)
|
||||
|
||||
Reference in New Issue
Block a user