diff --git a/src/views/agent/chat/components/HistoryChat.vue b/src/views/agent/chat/components/HistoryChat.vue index e572ac6..1a1590b 100644 --- a/src/views/agent/chat/components/HistoryChat.vue +++ b/src/views/agent/chat/components/HistoryChat.vue @@ -28,18 +28,7 @@ {{cozeInfo.description}} -
- - - - - - - - - - diff --git a/src/views/agent/chat/components/history.scss b/src/views/agent/chat/components/history.scss index e8c5dbc..51b1a8d 100644 --- a/src/views/agent/chat/components/history.scss +++ b/src/views/agent/chat/components/history.scss @@ -37,7 +37,7 @@ .info-section { align-self: stretch; - padding: 15px; + padding: 10px 0 0 10px; display: flex; justify-content: space-between; align-items: flex-start; @@ -110,7 +110,7 @@ } .label { - left: 43px; + left: 22px; top: 10px; position: absolute; color: var(--Text-3, #737478); @@ -142,12 +142,7 @@ } } - .divider { - align-self: stretch; - height: 0px; - outline: 1px var(--Border-2, #E6E6E8) solid; - outline-offset: -0.50px; - } + .history-section { align-self: stretch; diff --git a/src/views/agent/chat/index.vue b/src/views/agent/chat/index.vue index 23c4301..b95cd4a 100644 --- a/src/views/agent/chat/index.vue +++ b/src/views/agent/chat/index.vue @@ -14,20 +14,23 @@ class="history-chat-col"> + -
- - - -
- + :xl="isCollapsed ? 24 : 16" class="chat-content-col"> -
+ +
+
+ + + +
+
+
@@ -107,7 +110,7 @@ const initChat = async () => { } Object.assign(cozeInfo, data.info); - await loadScript('https://lf-cdn.coze.cn/obj/unpkg/flow-platform/chat-app-sdk/1.2.0-beta.10/libs/cn/index.js'); + await loadScript('https://lf-cdn.coze.cn/obj/unpkg/flow-platform/chat-app-sdk/1.2.0-beta.17/libs/cn/index.js'); let cozeConfig = await cozeWebSdkConfig(data.info.bot_id, data.info.name, data.info.auth, data.info.user_info); cozeWebSDK = cozeWebSDK = new CozeWebSDK.WebChatClient(cozeConfig); showChatPage(); @@ -124,7 +127,7 @@ const cozeWebSdkConfig = (botId, name, auth, userInfo) => { ui: { chatBot: { el: document.getElementById('coze-chat-container'), - width: '80%', + width: '95%', height: '100%', title: name, isNeedFunctionCallMessage: true, @@ -132,10 +135,20 @@ const cozeWebSdkConfig = (botId, name, auth, userInfo) => { base: { icon: '', zIndex: 1000, + lang:'zh-CN' }, footer: { expressionText: '内容由AI生成,无法确保真实准确,仅供参考。', }, + header: { + isShow: true, + isNeedClose: true + }, + conversations: { + isNeed: true, + isNeedAddNewConversationBoolean: true, + isNeedQuoteBoolean: true, + } }, auth: auth, userInfo: userInfo, diff --git a/src/views/agent/work-flow/components/DynamicForm.vue b/src/views/agent/work-flow/components/DynamicForm.vue index aae6ccb..d3cfb62 100644 --- a/src/views/agent/work-flow/components/DynamicForm.vue +++ b/src/views/agent/work-flow/components/DynamicForm.vue @@ -17,12 +17,20 @@ /> - - + + - - 提交执行 + 提交执行