mirror of
https://github.com/aaif-goose/goose.git
synced 2026-07-03 14:10:03 +02:00
fix: allow concurrent tool execution within the same MCP extension (#7202)
Signed-off-by: rabi <ramishra@redhat.com>
This commit is contained in:
@@ -142,7 +142,6 @@ where
|
||||
F: Fn(&ScenarioResult) -> Result<()>,
|
||||
{
|
||||
use goose::config::ExtensionConfig;
|
||||
use tokio::sync::Mutex;
|
||||
|
||||
goose::agents::moim::SKIP.with(|f| f.set(true));
|
||||
|
||||
@@ -229,7 +228,7 @@ where
|
||||
bundled: None,
|
||||
available_tools: vec![],
|
||||
},
|
||||
Arc::new(Mutex::new(Box::new(mock_client))),
|
||||
Arc::new(mock_client),
|
||||
None,
|
||||
None,
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user