添加推荐问题修改接口

This commit is contained in:
fengxiangdebaozi committed 2026-05-14 11:07:28 +08:00
1 parent 62292500ba
commit 2f2ba44c7c
13 files changed
+481 -126

No files matched your search

@@ -94,6 +94,10 @@ async def langgraph_runtime(app: FastAPI) -> AsyncGenerator[None, None]:
app.state.agent_store = make_agent_store(sf)
from deerflow.persistence.recommended_questions import make_recommended_question_store
app.state.recommended_question_store = make_recommended_question_store(sf)
# Run event store (has its own factory with config-driven backend selection)
run_events_config = getattr(config, "run_events", None)
app.state.run_event_store = make_run_event_store(run_events_config)