mirror of
https://github.com/farcasclaudiu/Flowise.git
synced 2026-06-28 17:01:00 +03:00
Embed chat configuration updated (#2723)
This commit is contained in:
@@ -128,6 +128,7 @@ const chatwindowConfig = (isReact = false) => {
|
||||
showTitle: true,
|
||||
title: 'Flowise Bot',
|
||||
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
|
||||
showAgentMessages: true,
|
||||
welcomeMessage: 'Hello! This is custom welcome message',
|
||||
errorMessage: 'This is a custom error message',
|
||||
backgroundColor: "#ffffff",
|
||||
@@ -155,6 +156,10 @@ const chatwindowConfig = (isReact = false) => {
|
||||
maxChars: 50,
|
||||
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
|
||||
autoFocus: true, // If not used, autofocus is disabled on mobile and enabled on desktop. true enables it on both, false disables it on both.
|
||||
sendMessageSound: true,
|
||||
// sendSoundLocation: "send_message.mp3", // If this is not used, the default sound effect will be played if sendSoundMessage is true.
|
||||
receiveMessageSound: true,
|
||||
// receiveSoundLocation: "receive_message.mp3", // If this is not used, the default sound effect will be played if receiveSoundMessage is true.
|
||||
},
|
||||
feedback: {
|
||||
color: '#303235',
|
||||
@@ -170,6 +175,7 @@ const chatwindowConfig = (isReact = false) => {
|
||||
showTitle: true,
|
||||
title: 'Flowise Bot',
|
||||
titleAvatarSrc: 'https://raw.githubusercontent.com/walkxcode/dashboard-icons/main/svg/google-messages.svg',
|
||||
showAgentMessages: true,
|
||||
welcomeMessage: 'Hello! This is custom welcome message',
|
||||
errorMessage: 'This is a custom error message',
|
||||
backgroundColor: "#ffffff",
|
||||
@@ -197,6 +203,10 @@ const chatwindowConfig = (isReact = false) => {
|
||||
maxChars: 50,
|
||||
maxCharsWarningMessage: 'You exceeded the characters limit. Please input less than 50 characters.',
|
||||
autoFocus: true, // If not used, autofocus is disabled on mobile and enabled on desktop. true enables it on both, false disables it on both.
|
||||
sendMessageSound: true,
|
||||
// sendSoundLocation: "send_message.mp3", // If this is not used, the default sound effect will be played if sendSoundMessage is true.
|
||||
receiveMessageSound: true,
|
||||
// receiveSoundLocation: "receive_message.mp3", // If this is not used, the default sound effect will be played if receiveSoundMessage is true.
|
||||
},
|
||||
feedback: {
|
||||
color: '#303235',
|
||||
|
||||
Reference in New Issue
Block a user