Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
tangly1024 committed Sep 20, 2024
1 parent d309aef commit 6c0882c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion components/Coze.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,15 @@ export default function Coze() {
await loadExternalResource(cozeSrc)
const CozeWebSDK = window?.CozeWebSDK
if (CozeWebSDK) {
new CozeWebSDK.WebChatClient({
const cozeClient = new CozeWebSDK.WebChatClient({
config: {
bot_id: botId
},
componentProps: {
title: title
}
})
console.log('coze', cozeClient)
}
}

Expand Down

0 comments on commit 6c0882c

Please sign in to comment.