fix: actually set the working dir for extensions from session (#6612)

This commit is contained in:
Zane
2026-01-21 10:03:49 -10:00
committed by GitHub
parent a7699e1607
commit 5bf4cf0463
4 changed files with 44 additions and 14 deletions
+3 -1
View File
@@ -264,7 +264,9 @@ async fn test_replayed_session(
#[allow(clippy::redundant_closure_call)]
let result = (async || -> Result<(), Box<dyn std::error::Error>> {
extension_manager.add_extension(extension_config).await?;
extension_manager
.add_extension_with_working_dir(extension_config, None)
.await?;
let mut results = Vec::new();
for tool_call in tool_calls {
let tool_call = CallToolRequestParam {