We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2aab5da commit 258de84Copy full SHA for 258de84
src/api/app.py
@@ -35,7 +35,7 @@ async def lifespan(fastapi_app: FastAPI):
35
fastapi_app.state.agent = await ConversationAgentFactory.get_agent()
36
fastapi_app.state.search_agent = await SearchAgentFactory.get_agent()
37
fastapi_app.state.sql_agent = await SQLAgentFactory.get_agent()
38
- fastapi_app.state.chart_agent=await ChartAgentFactory.get_agent()
+ fastapi_app.state.chart_agent = await ChartAgentFactory.get_agent()
39
yield
40
await ConversationAgentFactory.delete_agent()
41
await SearchAgentFactory.delete_agent()
0 commit comments