Skip to content

Commit 127b6be

Browse files
fix: 修正 response.text 访问方式
Co-authored-by: aider (vertex_ai/gemini-2.5-pro) <aider@aider.chat>
1 parent 533ce85 commit 127b6be

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/mcp-server/src/bridge/bridge.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -176,7 +176,7 @@ export class GcliMcpBridge {
176176

177177
// Send the request using the one-shot session
178178
const response = await oneShotChat.sendMessage(request);
179-
const resultText = response.text() || '';
179+
const resultText = response.text || '';
180180

181181
// Convert the result to the MCP format
182182
const mcpResult = this.convertGcliResultToMcpResult({

0 commit comments

Comments
 (0)