We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 130efef commit 2f7532dCopy full SHA for 2f7532d
1 file changed
simple-chatbot/client/javascript/src/app.js
@@ -49,7 +49,7 @@ class VoiceChatClient {
49
// Add placeholder message
50
this.addConversationMessage(
51
'Connect to start talking with your bot',
52
- 'placeholder'
+ 'placeholder',
53
);
54
}
55
@@ -118,9 +118,9 @@ class VoiceChatClient {
118
// Setup audio
119
this.setupAudio();
120
121
- // Connect using config
+ // Start bot and connect using config
122
const connectParams = TRANSPORT_CONFIG[this.transportType];
123
- await this.client.connect(connectParams);
+ await this.client.startBotAndConnect(connectParams);
124
} catch (error) {
125
this.addEvent('error', error.message);
126
console.error('Connection error:', error);
0 commit comments