From abadee927d6d3c4fecb09aad30de8c2c72f4a376 Mon Sep 17 00:00:00 2001 From: Humberto Yusta Date: Fri, 14 Feb 2025 17:03:10 +0100 Subject: [PATCH] fix: show mcp error to the model --- src/integrations/integr_mcp.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/integrations/integr_mcp.rs b/src/integrations/integr_mcp.rs index 75980786d..bf0d5e68c 100644 --- a/src/integrations/integr_mcp.rs +++ b/src/integrations/integr_mcp.rs @@ -383,7 +383,7 @@ impl Tool for ToolMCP { } Err(e) => { tracing::error!("Failed to call tool: {:?}", e); - return Err("Failed to call tool".to_string()); + return Err(e.to_string()); } } };