We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 017cf3a commit 4f8a916Copy full SHA for 4f8a916
packages/mcp-client/src/McpClient.ts
@@ -145,7 +145,6 @@ export class McpClient {
145
if (opts.abortSignal?.aborted) {
146
throw new Error("AbortError");
147
}
148
- yield chunk;
149
debug(chunk.choices[0]);
150
numOfChunks++;
151
const delta = chunk.choices[0]?.delta;
@@ -174,6 +173,7 @@ export class McpClient {
174
173
/// If no tool is present in chunk number 1 or 2, exit.
175
return;
176
+ yield chunk;
177
178
179
messages.push(message);
0 commit comments