mirror of
https://github.com/block/goose.git
synced 2026-07-17 12:56:20 +02:00
fix: hard-coded tool call id in code mode callback (#7939)
This commit is contained in:
@@ -255,11 +255,7 @@ fn create_tool_callback(
|
||||
}
|
||||
params
|
||||
};
|
||||
let ctx = crate::agents::ToolCallContext::new(
|
||||
session_id,
|
||||
None,
|
||||
Some("tool-request-id".to_string()),
|
||||
);
|
||||
let ctx = crate::agents::ToolCallContext::new(session_id, None, None);
|
||||
match manager
|
||||
.dispatch_tool_call(&ctx, tool_call, CancellationToken::new())
|
||||
.await
|
||||
|
||||
Reference in New Issue
Block a user