Skip to content

Commit

Permalink
chore: typo fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
aspirantzhang committed Jun 12, 2024
1 parent 77ac8f9 commit b2bdcae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ export const myCustomAdapter: ChatAdapter = {
Streaming adapters can also be used with APIs that send responses as Server-Sent Events (SSE).
[All the examples on this website](/examples/react-js-ai-assistant) use this approach.

Another potentially useful configuration is `messageOption.waitTimeBeforeStreamCompletion`,
Another potentially useful configuration is `messageOptions.waitTimeBeforeStreamCompletion`,
which sets the wait time in milliseconds after the last data chunk; the default value is 2000ms.

## Promise Adapters
Expand Down

0 comments on commit b2bdcae

Please sign in to comment.