Show tool name for Unknown tool (#27667)
Right now we can't see what tool name the model was trying to run. Release Notes: - N/A
This commit is contained in:
parent
a916bbf00c
commit
55d934a3be
1 changed files with 1 additions and 1 deletions
|
@ -209,7 +209,7 @@ impl ToolUseState {
|
|||
if let Some(tool) = self.tools.tool(tool_name, cx) {
|
||||
tool.ui_text(input).into()
|
||||
} else {
|
||||
"Unknown tool".into()
|
||||
format!("Unknown tool {tool_name:?}").into()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue