File tree Expand file tree Collapse file tree 2 files changed +11
-6
lines changed
src/routes/chat/[agentId]/[conversationId] Expand file tree Collapse file tree 2 files changed +11
-6
lines changed Original file line number Diff line number Diff line change 22PUBLIC_SERVICE_URL = https://botsharp.azurewebsites.net
33PUBLIC_LIVECHAT_HOST = https://victorious-moss-007e11310.4.azurestaticapps.net/
44PUBLIC_LIVECHAT_ENTRY_ICON = images/users/bot.png
5+ PUBLIC_DEBUG_MODE = false
56PUBLIC_LIVECHAT_VOICE_ENABLED = false
7+ PUBLIC_LIVECHAT_SPEAKER_ENABLED = false
68PUBLIC_LIVECHAT_FILES_ENABLED = false
79PUBLIC_LIVECHAT_ENABLE_TRAINING = false
810PUBLIC_HOME_IMAGE = images/megamenu-img.png
@@ -18,5 +20,4 @@ PUBLIC_COMPANY_WEBSITE=https://scisharp.github.io/SciSharp/
1820PUBLIC_PLUGIN_DEFAULT_ICON = https://avatars.githubusercontent.com/u/44989469?s=200&v=4
1921PUBLIC_ALLOW_SIGNUP = true
2022PUBLIC_AUTH_ENABLE_SSO = true
21- PUBLIC_AUTH_ENABLE_FIND_PWD = true
22- PUBLIC_DEBUG_MODE = false
23+ PUBLIC_AUTH_ENABLE_FIND_PWD = true
Original file line number Diff line number Diff line change 3838 import {
3939 PUBLIC_LIVECHAT_ENTRY_ICON ,
4040 PUBLIC_LIVECHAT_VOICE_ENABLED ,
41+ PUBLIC_LIVECHAT_SPEAKER_ENABLED ,
4142 PUBLIC_LIVECHAT_FILES_ENABLED ,
4243 PUBLIC_LIVECHAT_ENABLE_TRAINING ,
4344 PUBLIC_DEBUG_MODE
16291630 <RcMessage message={message} />
16301631 {#if message?.message_id === lastBotMsg?.message_id && message?.uuid === lastBotMsg?.uuid}
16311632 <div style="display: flex; gap: 10px;">
1632- <AudioSpeaker
1633- id={message?.message_id}
1634- text={message?.rich_content?.message?.text || message?.text}
1635- />
1633+ {#if PUBLIC_LIVECHAT_SPEAKER_ENABLED === 'true'}
1634+ <AudioSpeaker
1635+ id={message?.message_id}
1636+ text={message?.rich_content?.message?.text || message?.text}
1637+ />
1638+ {/if}
16361639 {#if PUBLIC_LIVECHAT_ENABLE_TRAINING === 'true'}
16371640 {#if message?.function}
16381641 <div class="line-align-center" style="font-size: 17px;">
16551658 <!-- svelte-ignore a11y-no-static-element-interactions -->
16561659 <div
16571660 class="clickable"
1661+ style="height: 80%;"
16581662 data-bs-toggle="tooltip"
16591663 data-bs-placement="top"
16601664 title="Edit"
You can’t perform that action at this time.
0 commit comments