diff --git a/CHANGELOG.md b/CHANGELOG.md index 57a4e90..78fe94e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,13 @@ All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines. +### [1.13.1](https://github.com/TencentCloudBase/cloudbase-agent-ui/compare/v1.13.0...v1.13.1) (2025-05-21) + + +### Bug Fixes + +* 修复知识库匹配文案描述&loading动画优化 ([0427903](https://github.com/TencentCloudBase/cloudbase-agent-ui/commit/04279035108c888c08cf83ad977d7cb3262ab360)) + ## [1.13.0](https://github.com/TencentCloudBase/cloudbase-agent-ui/compare/v1.12.5...v1.13.0) (2025-05-19) diff --git a/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/imgs/loading.svg b/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/imgs/loading.svg index f1eca76..13854ab 100644 --- a/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/imgs/loading.svg +++ b/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/imgs/loading.svg @@ -1,12 +1 @@ - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.js b/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.js index 6d1ba99..8f41dec 100644 --- a/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.js +++ b/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.js @@ -30,7 +30,7 @@ Component({ allowMultiConversation: Boolean, allowVoice: Boolean, showToolCallDetail: Boolean, - showBotName: Boolean + showBotName: Boolean, }, }, modelConfig: { @@ -173,7 +173,7 @@ Component({ showToolCallDetail, allowMultiConversation, allowVoice, - showBotName + showBotName, } = this.data.agentConfig; allowWebSearch = allowWebSearch === undefined ? true : allowWebSearch; allowUploadFile = allowUploadFile === undefined ? true : allowUploadFile; @@ -182,7 +182,7 @@ Component({ showToolCallDetail = showToolCallDetail === undefined ? true : showToolCallDetail; allowMultiConversation = allowMultiConversation === undefined ? true : allowMultiConversation; allowVoice = allowVoice === undefined ? true : allowVoice; - showBotName = showBotName === undefined ? true: showBotName; + showBotName = showBotName === undefined ? true : showBotName; this.setData({ bot, questions, @@ -194,7 +194,7 @@ Component({ showToolCallDetail: showToolCallDetail, showMultiConversation: allowMultiConversation, showVoice: allowVoice, - showBotName: showBotName + showBotName: showBotName, }); console.log("bot", this.data.bot); if (chatMode === "bot" && this.data.bot.multiConversationEnable) { diff --git a/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.wxml b/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.wxml index dfd903b..ee6f1cd 100644 --- a/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.wxml +++ b/apps/miniprogram-agent-ui/miniprogram/components/agent-ui/index.wxml @@ -99,7 +99,7 @@ - 已参考 {{item.knowledge_base.length}} 个知识库 + 已参考 {{item.knowledge_base.length}} 处知识库内容 @@ -178,6 +178,7 @@ + diff --git a/components/agent-ui/imgs/loading.svg b/components/agent-ui/imgs/loading.svg index f1eca76..13854ab 100644 --- a/components/agent-ui/imgs/loading.svg +++ b/components/agent-ui/imgs/loading.svg @@ -1,12 +1 @@ - - - - - \ No newline at end of file + \ No newline at end of file diff --git a/components/agent-ui/index.js b/components/agent-ui/index.js index 6d1ba99..8f41dec 100644 --- a/components/agent-ui/index.js +++ b/components/agent-ui/index.js @@ -30,7 +30,7 @@ Component({ allowMultiConversation: Boolean, allowVoice: Boolean, showToolCallDetail: Boolean, - showBotName: Boolean + showBotName: Boolean, }, }, modelConfig: { @@ -173,7 +173,7 @@ Component({ showToolCallDetail, allowMultiConversation, allowVoice, - showBotName + showBotName, } = this.data.agentConfig; allowWebSearch = allowWebSearch === undefined ? true : allowWebSearch; allowUploadFile = allowUploadFile === undefined ? true : allowUploadFile; @@ -182,7 +182,7 @@ Component({ showToolCallDetail = showToolCallDetail === undefined ? true : showToolCallDetail; allowMultiConversation = allowMultiConversation === undefined ? true : allowMultiConversation; allowVoice = allowVoice === undefined ? true : allowVoice; - showBotName = showBotName === undefined ? true: showBotName; + showBotName = showBotName === undefined ? true : showBotName; this.setData({ bot, questions, @@ -194,7 +194,7 @@ Component({ showToolCallDetail: showToolCallDetail, showMultiConversation: allowMultiConversation, showVoice: allowVoice, - showBotName: showBotName + showBotName: showBotName, }); console.log("bot", this.data.bot); if (chatMode === "bot" && this.data.bot.multiConversationEnable) { diff --git a/components/agent-ui/index.wxml b/components/agent-ui/index.wxml index dfd903b..ee6f1cd 100644 --- a/components/agent-ui/index.wxml +++ b/components/agent-ui/index.wxml @@ -99,7 +99,7 @@ - 已参考 {{item.knowledge_base.length}} 个知识库 + 已参考 {{item.knowledge_base.length}} 处知识库内容 @@ -178,6 +178,7 @@ + diff --git a/package-lock.json b/package-lock.json index 665173d..74fa285 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cloudbase-agent-ui", - "version": "1.13.0", + "version": "1.13.1", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cloudbase-agent-ui", - "version": "1.13.0", + "version": "1.13.1", "license": "MIT", "dependencies": { "standard-version": "^9.5.0" diff --git a/package.json b/package.json index b0ac9f1..b20cf6b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cloudbase-agent-ui", - "version": "1.13.0", + "version": "1.13.1", "description": "微信小程序 Agent UI组件", "main": "index.js", "directories": {