diff --git a/src/lib/helpers/types/agentTypes.js b/src/lib/helpers/types/agentTypes.js index bbe84e6..fff0d75 100644 --- a/src/lib/helpers/types/agentTypes.js +++ b/src/lib/helpers/types/agentTypes.js @@ -60,6 +60,8 @@ * @property {AgentWelcomeInfo} welcome_info - Welcome information. * @property {boolean} editable * @property {boolean} chatable + * @property {boolean} trainable + * @property {boolean} evaluable */ diff --git a/src/lib/scss/custom/pages/_roles.scss b/src/lib/scss/custom/pages/_roles.scss index 076c269..66f1591 100644 --- a/src/lib/scss/custom/pages/_roles.scss +++ b/src/lib/scss/custom/pages/_roles.scss @@ -84,6 +84,7 @@ .action-col { padding: 3px 0px; + border-bottom: 1px dotted var(--bs-primary); input[type='checkbox'] { outline: none !important; diff --git a/src/lib/scss/custom/pages/_users.scss b/src/lib/scss/custom/pages/_users.scss index e948ee1..9fe8e64 100644 --- a/src/lib/scss/custom/pages/_users.scss +++ b/src/lib/scss/custom/pages/_users.scss @@ -92,6 +92,7 @@ .action-col { padding: 3px 0px; + border-bottom: 1px dotted var(--bs-primary); input[type='checkbox'] { outline: none !important; diff --git a/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte b/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte index 8b8e4a3..c8292c9 100644 --- a/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte +++ b/src/routes/chat/[agentId]/[conversationId]/chat-box.svelte @@ -1647,7 +1647,7 @@ text={message?.rich_content?.message?.text || message?.text} /> {/if} - {#if PUBLIC_LIVECHAT_ENABLE_TRAINING === 'true'} + {#if PUBLIC_LIVECHAT_ENABLE_TRAINING === 'true' && agent?.trainable} {#if message?.function}