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 4c95b49 commit 5b52aa9Copy full SHA for 5b52aa9
src/lib/beta/BetaToolRunner.ts
@@ -147,7 +147,8 @@ export class BetaToolRunner<Stream extends boolean> {
147
this.#options,
148
);
149
150
- this.#message = this.#chatCompletion.then((resp) => resp.choices.at(0)!.message).catch(() => {});
+ this.#message = this.#chatCompletion.then((resp) => resp.choices.at(0)!.message);
151
+ this.#message.catch(() => {});
152
153
yield this.#chatCompletion as any;
154
}
0 commit comments