Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions js/doc-snippets/src/flows/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -102,8 +102,7 @@ export const menuSuggestionStreamingFlow = ai.defineStreamingFlow(
// Here, you could process the chunk in some way before sending it to
// the output stream via streamingCallback(). In this example, we output
// the text of the chunk, unmodified.
// @ts-ignore
streamingCallback(chunk.text());
streamingCallback(chunk.text);
}
}

Expand Down
Loading