mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-08 15:22:39 +02:00
Refactor multi-agent supervisor prompts and wiring; thread citations into streaming.
This commit is contained in:
parent
74337b462a
commit
ba131f5736
28 changed files with 286 additions and 161 deletions
|
|
@ -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(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue