mirror of
https://github.com/QwenLM/qwen-code.git
synced 2025-12-20 08:47:44 +00:00
bandaid for broken mcp calls (#732)
This commit is contained in:
@@ -96,10 +96,9 @@ This MCP tool named '${serverToolName}' was discovered from '${serverName}' MCP
|
||||
|
||||
const responseParts: Part[] = await this.mcpTool.callTool(functionCalls);
|
||||
|
||||
const output = getStringifiedResultForDisplay(responseParts);
|
||||
return {
|
||||
llmContent: responseParts,
|
||||
returnDisplay: output,
|
||||
returnDisplay: getStringifiedResultForDisplay(responseParts),
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user