fix mcp timeouts and missing description on mcp errors (#868)

This commit is contained in:
Olcan
2025-06-08 21:52:11 -07:00
committed by GitHub
parent a3d11e8fef
commit a2fee6bdd3
4 changed files with 23 additions and 19 deletions

View File

@@ -249,10 +249,8 @@ export function mapToDisplay(
trackedCall.request.args,
);
renderOutputAsMarkdown = currentToolInstance.isOutputMarkdown;
}
if (trackedCall.status === 'error') {
description = '';
} else if ('request' in trackedCall && 'args' in trackedCall.request) {
description = JSON.stringify(trackedCall.request.args);
}
const baseDisplayProperties: Omit<