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 5d00372 commit 1941871Copy full SHA for 1941871
src/lib/model-result.ts
@@ -482,7 +482,7 @@ export class ModelResult<TTools extends readonly Tool[]> {
482
* Multiple consumers can iterate over this stream concurrently.
483
* Includes preliminary tool result events after tool execution.
484
*/
485
- getFullResponsesStream(): AsyncIterableIterator<ResponseStreamEvent<InferToolEventsUnion<TTools {
+ getFullResponsesStream(): AsyncIterableIterator<ResponseStreamEvent<InferToolEventsUnion<TTools>>> {
486
return async function* (this: ModelResult<TTools>) {
487
await this.initStream();
488
if (!this.reusableStream) {
0 commit comments