Spaces:
Runtime error
Runtime error
Commit ·
11faf9a
1
Parent(s): 471d861
Fix status
Browse filesSigned-off-by: Aivin V. Solatorio <avsolatorio@gmail.com>
- mcp_remote_client.py +2 -2
mcp_remote_client.py
CHANGED
|
@@ -292,10 +292,10 @@ class MCPClientWrapper:
|
|
| 292 |
result_messages.append(
|
| 293 |
{
|
| 294 |
"role": "assistant",
|
| 295 |
-
"content": f"Sorry, I encountered an error while calling the tool: {error_msg}. Please try again.",
|
| 296 |
"metadata": {
|
| 297 |
"title": f"Tool Error for {tool_name.replace('avsolatorio_test_data_mcp_server', '')}",
|
| 298 |
-
"status": "
|
| 299 |
"id": f"error_{tool_name}",
|
| 300 |
},
|
| 301 |
}
|
|
|
|
| 292 |
result_messages.append(
|
| 293 |
{
|
| 294 |
"role": "assistant",
|
| 295 |
+
"content": f"Sorry, I encountered an error while calling the tool: {error_msg}. Please try again or reload the page.",
|
| 296 |
"metadata": {
|
| 297 |
"title": f"Tool Error for {tool_name.replace('avsolatorio_test_data_mcp_server', '')}",
|
| 298 |
+
"status": "done",
|
| 299 |
"id": f"error_{tool_name}",
|
| 300 |
},
|
| 301 |
}
|