diff --git a/packages/chat-core/src/index.ts b/packages/chat-core/src/index.ts index 1fd569c0..18ac84f5 100644 --- a/packages/chat-core/src/index.ts +++ b/packages/chat-core/src/index.ts @@ -319,7 +319,11 @@ export const createConversation = (config: Config): ConversationHandler => { body: JSON.stringify(bodyWithContext), }, ) - .then((res: any) => res.json()) + .then((res: any) => { + // Temporary log + console.log(res); + return res.json(); + }) .then(messageResponseHandler) .catch((err) => { console.warn(err);