@@ -128,6 +128,7 @@ const chatwindowConfig = (isReact = false) => {
128
128
showTitle: true,
129
129
title: 'Flowise Bot',
130
130
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
131
+ showAgentMessages: true,
131
132
welcomeMessage: 'Hello! This is custom welcome message',
132
133
errorMessage: 'This is a custom error message',
133
134
backgroundColor: "#ffffff",
@@ -155,6 +156,10 @@ const chatwindowConfig = (isReact = false) => {
155
156
maxChars: 50,
156
157
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
157
158
autoFocus: true, // If not used, autofocus is disabled on mobile and enabled on desktop. true enables it on both, false disables it on both.
159
+ sendMessageSound: true,
160
+ // sendSoundLocation: "send_message.mp3", // If this is not used, the default sound effect will be played if sendSoundMessage is true.
161
+ receiveMessageSound: true,
162
+ // receiveSoundLocation: "receive_message.mp3", // If this is not used, the default sound effect will be played if receiveSoundMessage is true.
158
163
},
159
164
feedback: {
160
165
color: '#303235',
@@ -170,6 +175,7 @@ const chatwindowConfig = (isReact = false) => {
170
175
showTitle: true,
171
176
title: 'Flowise Bot',
172
177
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
178
+ showAgentMessages: true,
173
179
welcomeMessage: 'Hello! This is custom welcome message',
174
180
errorMessage: 'This is a custom error message',
175
181
backgroundColor: "#ffffff",
@@ -197,6 +203,10 @@ const chatwindowConfig = (isReact = false) => {
197
203
maxChars: 50,
198
204
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
199
205
autoFocus: true, // If not used, autofocus is disabled on mobile and enabled on desktop. true enables it on both, false disables it on both.
206
+ sendMessageSound: true,
207
+ // sendSoundLocation: "send_message.mp3", // If this is not used, the default sound effect will be played if sendSoundMessage is true.
208
+ receiveMessageSound: true,
209
+ // receiveSoundLocation: "receive_message.mp3", // If this is not used, the default sound effect will be played if receiveSoundMessage is true.
200
210
},
201
211
feedback: {
202
212
color: '#303235',
0 commit comments