Skip to content

Commit 533ce85

Browse files
fix: 修正 bridge.ts 中 response 属性访问错误
Co-authored-by: aider (vertex_ai/gemini-2.5-pro) <aider@aider.chat>
1 parent d47fbed commit 533ce85

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -175,8 +175,7 @@ export class GcliMcpBridge {
175175
}
176176

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

182181
// Convert the result to the MCP format

0 commit comments

Comments
 (0)