Skip to content

Commit

Permalink
Add temporary message log
Browse files Browse the repository at this point in the history
  • Loading branch information
peterszerzo committed Jan 3, 2024
1 parent 7bc0dd0 commit d5553df
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion packages/chat-core/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit d5553df

Please sign in to comment.