mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-05-07 23:02:39 +02:00
Tune memory visibility and disable generic MCP supervisor routing.
This commit is contained in:
parent
f7ddb36c97
commit
5bc33626b9
7 changed files with 139 additions and 57 deletions
|
|
@ -70,6 +70,7 @@ def _compile_supervisor_chat_blocking(
|
|||
llm,
|
||||
tools=routing_tools,
|
||||
checkpointer=checkpointer,
|
||||
thread_visibility=thread_visibility,
|
||||
middleware=middleware,
|
||||
context_schema=SurfSenseContextSchema,
|
||||
)
|
||||
|
|
@ -161,6 +162,7 @@ async def create_multi_agent_chat(
|
|||
include_deliverables=thread_id is not None,
|
||||
mcp_tools_by_route=mcp_tools_by_route,
|
||||
available_connectors=resolved_connectors,
|
||||
thread_visibility=thread_visibility,
|
||||
)
|
||||
|
||||
fs_sel = filesystem_selection or FilesystemSelection()
|
||||
|
|
@ -168,7 +170,10 @@ async def create_multi_agent_chat(
|
|||
|
||||
if not surfsense_stack:
|
||||
return build_supervisor_agent(
|
||||
llm, tools=routing_tools, checkpointer=checkpointer
|
||||
llm,
|
||||
tools=routing_tools,
|
||||
checkpointer=checkpointer,
|
||||
thread_visibility=thread_visibility,
|
||||
)
|
||||
|
||||
return await asyncio.to_thread(
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue