Refactor multi-agent supervisor prompts and wiring; thread citations into streaming.

This commit is contained in:
CREDO23 2026-04-30 19:33:57 +02:00
parent 74337b462a
commit ba131f5736
28 changed files with 286 additions and 161 deletions

View file

@ -1581,6 +1581,7 @@ async def stream_new_chat(
thread_visibility=visibility,
filesystem_selection=filesystem_selection,
mentioned_document_ids=mentioned_document_ids,
citations_enabled=agent_config.citations_enabled,
)
else:
agent = await create_surfsense_deep_agent(
@ -2305,6 +2306,7 @@ async def stream_resume_chat(
connector_service=connector_service,
thread_visibility=visibility,
filesystem_selection=filesystem_selection,
citations_enabled=agent_config.citations_enabled,
)
else:
agent = await create_surfsense_deep_agent(