File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
crates/chat-cli/src/cli/chat Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -853,7 +853,7 @@ impl ToolManager {
853853 Err ( ToolResult {
854854 tool_use_id : value. id . clone ( ) ,
855855 content : vec ! [ ToolResultContentBlock :: Text ( format!(
856- "The tool, \" {name}\" is supplied with incorrect name "
856+ "Tool call with {name} does not correspond to any existing tool. "
857857 ) ) ] ,
858858 status : ToolResultStatus :: Error ,
859859 } )
@@ -864,15 +864,15 @@ impl ToolManager {
864864 let ( server_name, tool_name) = name. split_once ( NAMESPACE_DELIMITER ) . ok_or ( ToolResult {
865865 tool_use_id : value. id . clone ( ) ,
866866 content : vec ! [ ToolResultContentBlock :: Text ( format!(
867- "The tool, \" {name}\" is supplied with incorrect name "
867+ "Tool call with {name} does not correspond to any existing tool. "
868868 ) ) ] ,
869869 status : ToolResultStatus :: Error ,
870870 } ) ?;
871871 let Some ( client) = self . clients . get ( server_name) else {
872872 return Err ( ToolResult {
873873 tool_use_id : value. id ,
874874 content : vec ! [ ToolResultContentBlock :: Text ( format!(
875- "The tool, \" {server_name} \" is not supported by the client "
875+ "Tool call with {name} does not correspond to any existing tool. "
876876 ) ) ] ,
877877 status : ToolResultStatus :: Error ,
878878 } ) ;
You can’t perform that action at this time.
0 commit comments