We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 26b3672 commit 9a27318Copy full SHA for 9a27318
crates/chat-cli/src/cli/chat/conversation_state.rs
@@ -370,6 +370,7 @@ impl ConversationState {
370
Tool::ToolSpecification(tool_specification) => tool_specification.name.as_str(),
371
})
372
373
+ .filter(|name| *name != DUMMY_TOOL_NAME)
374
.collect();
375
376
for (_, assistant) in &mut self.history {
crates/chat-cli/src/cli/chat/parser.rs
@@ -244,11 +244,14 @@ impl ResponseParser {
244
// if the tool just does not need any input
245
_ => serde_json::json!({}),
246
};
247
+ let orig_name = name.clone();
248
+ let orig_args = args.clone();
249
Ok(AssistantToolUse {
250
id,
251
name,
252
+ orig_name,
253
args,
- ..Default::default()
254
+ orig_args,
255
256
}
257
0 commit comments