fix: per session working dir isolation (#6920)

This commit is contained in:
Zane
2026-02-03 10:20:02 -08:00
committed by GitHub
parent 8631caa890
commit aa356bd460
16 changed files with 143 additions and 68 deletions
+6 -1
View File
@@ -947,7 +947,12 @@ async fn call_tool(
let tool_result = agent
.extension_manager
.dispatch_tool_call(&payload.session_id, tool_call, CancellationToken::default())
.dispatch_tool_call(
&payload.session_id,
tool_call,
None,
CancellationToken::default(),
)
.await
.map_err(|_| StatusCode::INTERNAL_SERVER_ERROR)?;