Add /background commands (when background agent is configured) (#4407)

Co-authored-by: Bryan Morgan <bryanmorgan@google.com>
This commit is contained in:
Tommaso Sciortino
2025-07-18 15:38:04 -07:00
committed by GitHub
parent 04bbc60b97
commit 003609239f
12 changed files with 563 additions and 3 deletions

View File

@@ -113,9 +113,7 @@ export class DiscoveredMCPTool extends BaseTool<ToolParams, ToolResult> {
args: params,
},
];
const responseParts: Part[] = await this.mcpTool.callTool(functionCalls);
const responseParts = await this.mcpTool.callTool(functionCalls);
return {
llmContent: responseParts,
returnDisplay: getStringifiedResultForDisplay(responseParts),