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:
@@ -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()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user