From 04279035108c888c08cf83ad977d7cb3262ab360 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E9=9D=99=E8=BF=9C?= <837317210@qq.com>
Date: Wed, 21 May 2025 16:55:27 +0800
Subject: [PATCH 1/3] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E7=9F=A5=E8=AF=86?=
=?UTF-8?q?=E5=BA=93=E5=8C=B9=E9=85=8D=E6=96=87=E6=A1=88=E6=8F=8F=E8=BF=B0?=
=?UTF-8?q?&loading=E5=8A=A8=E7=94=BB=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/agent-ui/imgs/loading.svg | 13 +------------
.../miniprogram/components/agent-ui/index.js | 8 ++++----
.../miniprogram/components/agent-ui/index.wxml | 3 ++-
3 files changed, 7 insertions(+), 17 deletions(-)
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 @@
+
From f9bc6356a35a3de256f716c55be0d42771a718bf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E9=9D=99=E8=BF=9C?= <837317210@qq.com>
Date: Wed, 21 May 2025 16:55:34 +0800
Subject: [PATCH 2/3] chore: sync agent-ui component before release
---
components/agent-ui/imgs/loading.svg | 13 +------------
components/agent-ui/index.js | 8 ++++----
components/agent-ui/index.wxml | 3 ++-
3 files changed, 7 insertions(+), 17 deletions(-)
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 @@
+
From e36ae7167abdcf5fb4f80676276b325539c6e9cf Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?=E9=BB=84=E9=9D=99=E8=BF=9C?= <837317210@qq.com>
Date: Wed, 21 May 2025 16:55:44 +0800
Subject: [PATCH 3/3] chore(release): 1.13.1
---
CHANGELOG.md | 7 +++++++
package-lock.json | 4 ++--
package.json | 2 +-
3 files changed, 10 insertions(+), 3 deletions(-)
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/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": {