Skip to content

Commit f48855c

Browse files
Update src/pages/[platform]/ai/set-up-ai/index.mdx
Co-authored-by: Ian Saultz <[email protected]>
1 parent 46aff84 commit f48855c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/pages/[platform]/ai/set-up-ai/index.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -648,7 +648,7 @@ const { data: conversation } = await client.conversations.chat.create();
648648

649649
// Assistant messages come back as websocket events
650650
// over a subscription
651-
conversation.onResponseEvent({
651+
conversation.onStreamEvent({
652652
next: (event) => {
653653
console.log(event);
654654
},

0 commit comments

Comments
 (0)