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
|
params
|
||||||
};
|
};
|
||||||
let ctx = crate::agents::ToolCallContext::new(
|
let ctx = crate::agents::ToolCallContext::new(session_id, None, None);
|
||||||
session_id,
|
|
||||||
None,
|
|
||||||
Some("tool-request-id".to_string()),
|
|
||||||
);
|
|
||||||
match manager
|
match manager
|
||||||
.dispatch_tool_call(&ctx, tool_call, CancellationToken::new())
|
.dispatch_tool_call(&ctx, tool_call, CancellationToken::new())
|
||||||
.await
|
.await
|
||||||
|
|||||||
Reference in New Issue
Block a user