From f48855c0c519c0f7631028b6d4a6f2f4aec1a46e Mon Sep 17 00:00:00 2001 From: Danny Banks Date: Tue, 12 Nov 2024 08:59:33 -0800 Subject: [PATCH] Update src/pages/[platform]/ai/set-up-ai/index.mdx Co-authored-by: Ian Saultz <52051793+atierian@users.noreply.github.com> --- src/pages/[platform]/ai/set-up-ai/index.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/[platform]/ai/set-up-ai/index.mdx b/src/pages/[platform]/ai/set-up-ai/index.mdx index 0850315b4df..8ec3e6d55a9 100644 --- a/src/pages/[platform]/ai/set-up-ai/index.mdx +++ b/src/pages/[platform]/ai/set-up-ai/index.mdx @@ -648,7 +648,7 @@ const { data: conversation } = await client.conversations.chat.create(); // Assistant messages come back as websocket events // over a subscription -conversation.onResponseEvent({ +conversation.onStreamEvent({ next: (event) => { console.log(event); },