From 11caf6bc8a5cc143b727693b0c476da4653e576a Mon Sep 17 00:00:00 2001
From: zhuoqinglian <1035449612@qq.com>
Date: Fri, 17 Apr 2026 10:42:47 +0800
Subject: [PATCH 1/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E8=A7=92=E8=89=B2?=
=?UTF-8?q?=E9=85=8D=E7=BD=AE-=E5=8A=9F=E8=83=BD=E7=AE=A1=E7=90=86?=
=?UTF-8?q?=E5=88=97=E8=A1=A8=E6=B2=A1=E6=9C=89=E6=BB=9A=E5=8A=A8=E6=9D=A1?=
=?UTF-8?q?=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
main/manager-web/src/components/FunctionDialog.vue | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
diff --git a/main/manager-web/src/components/FunctionDialog.vue b/main/manager-web/src/components/FunctionDialog.vue
index e0930a7d5..e95cca8a1 100644
--- a/main/manager-web/src/components/FunctionDialog.vue
+++ b/main/manager-web/src/components/FunctionDialog.vue
@@ -477,13 +477,15 @@ export default {
.function-column {
position: relative;
+ display: flex;
+ flex-direction: column;
width: auto;
- height:700px;
+ height: 100%;
padding: 10px;
- overflow-y: auto;
border-right: 1px solid #EBEEF5;
scrollbar-width: none;
overflow-x: hidden;
+ box-sizing: border-box;
}
.mcp-access-point {
@@ -497,6 +499,9 @@ export default {
}
.function-list {
+ overflow-y: auto;
+ overflow-x: hidden;
+ scrollbar-width: thin;
display: flex;
flex-direction: column;
gap: 8px;
From d2cbec09811be819d59ed3aac0e74f4198d1dc87 Mon Sep 17 00:00:00 2001
From: Sakura-RanChen <1908198662@qq.com>
Date: Fri, 17 Apr 2026 10:59:29 +0800
Subject: [PATCH 2/4] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E5=A4=84=E7=90=86?=
=?UTF-8?q?=E9=A1=BA=E5=BA=8F=E4=BF=9D=E7=95=99=E8=8B=B1=E6=96=87=E7=A9=BA?=
=?UTF-8?q?=E6=A0=BC=E7=9A=84=E5=90=8C=E6=97=B6=E4=BF=AE=E5=A4=8Dmarkdown?=
=?UTF-8?q?=E8=A2=AB=E8=AF=86=E5=88=AB=E4=B8=BA=E7=BA=AFASCII=20=E5=AD=97?=
=?UTF-8?q?=E7=AC=A6=E7=9A=84=E9=94=99=E8=AF=AF=E8=BF=94=E5=9B=9E?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
main/xiaozhi-server/core/utils/tts.py | 10 +++++-----
1 file changed, 5 insertions(+), 5 deletions(-)
diff --git a/main/xiaozhi-server/core/utils/tts.py b/main/xiaozhi-server/core/utils/tts.py
index df3e90b4d..eedbc4aca 100644
--- a/main/xiaozhi-server/core/utils/tts.py
+++ b/main/xiaozhi-server/core/utils/tts.py
@@ -130,17 +130,17 @@ class MarkdownCleaner:
"""
主入口方法:依序执行所有正则,移除或替换 Markdown 元素
"""
- # 检查文本是否全为英文和基本标点符号
- if text and all((c.isascii() or c.isspace() or c in punctuation_set) for c in text):
- # 保留原始空格,直接返回
- return text
-
for regex, replacement in MarkdownCleaner.REGEXES:
text = regex.sub(replacement, text)
# 去除emoji表情
text = check_emoji(text)
+ # 检查文本是否全为英文和基本标点符号
+ if text and all((c.isascii() or c.isspace() or c in punctuation_set) for c in text):
+ # 保留原始空格,直接返回
+ return text
+
return text.strip()
def convert_percentage_to_range(percentage, min_val, max_val, base_val=None):
From 35ea14b95b1edf3fea7e317c34156a3325d65459 Mon Sep 17 00:00:00 2001
From: zhuoqinglian <1035449612@qq.com>
Date: Fri, 17 Apr 2026 11:10:33 +0800
Subject: [PATCH 3/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=99=BA=E8=83=BD?=
=?UTF-8?q?=E4=BD=93tooltip=E9=AB=98=E5=BA=A6=E8=B6=85=E9=95=BF=E7=9A=84?=
=?UTF-8?q?=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../manager-web/src/components/DeviceItem.vue | 21 ++++++++++++++++---
1 file changed, 18 insertions(+), 3 deletions(-)
diff --git a/main/manager-web/src/components/DeviceItem.vue b/main/manager-web/src/components/DeviceItem.vue
index 8ebcf1f5b..8893fe180 100644
--- a/main/manager-web/src/components/DeviceItem.vue
+++ b/main/manager-web/src/components/DeviceItem.vue
@@ -10,7 +10,7 @@
+ popper-class="device-item-tooltip">
@@ -193,8 +193,23 @@ export default {
\ No newline at end of file
From 7049e8cce7b508aa9c24bfffaa7744b73a5926d0 Mon Sep 17 00:00:00 2001
From: rainv123 <2148537152@qq.com>
Date: Fri, 17 Apr 2026 16:41:42 +0800
Subject: [PATCH 4/4] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=9B=B4=E6=96=B0?=
=?UTF-8?q?=E7=9F=A5=E8=AF=86=E5=BA=93=E6=97=B6=20pagerank=20=E4=B8=BA=20n?=
=?UTF-8?q?ull=20=E5=AF=BC=E8=87=B4=20RAGFlow=20=E6=A0=A1=E9=AA=8C?=
=?UTF-8?q?=E5=A4=B1=E8=B4=A5=E7=9A=84=E9=97=AE=E9=A2=98?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../java/xiaozhi/modules/knowledge/dto/dataset/DatasetDTO.java | 2 ++
1 file changed, 2 insertions(+)
diff --git a/main/manager-api/src/main/java/xiaozhi/modules/knowledge/dto/dataset/DatasetDTO.java b/main/manager-api/src/main/java/xiaozhi/modules/knowledge/dto/dataset/DatasetDTO.java
index 0f48ff59b..e800a17bb 100644
--- a/main/manager-api/src/main/java/xiaozhi/modules/knowledge/dto/dataset/DatasetDTO.java
+++ b/main/manager-api/src/main/java/xiaozhi/modules/knowledge/dto/dataset/DatasetDTO.java
@@ -7,6 +7,7 @@ import java.util.List;
import java.util.Map;
import com.fasterxml.jackson.annotation.JsonProperty;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
+import com.fasterxml.jackson.annotation.JsonInclude;
import jakarta.validation.constraints.*;
/**
@@ -129,6 +130,7 @@ public class DatasetDTO {
@JsonProperty("parser_config")
private ParserConfig parserConfig;
+ @JsonInclude(JsonInclude.Include.NON_NULL)
@Schema(description = "PageRank 权重 (0-100)", example = "50")
private Integer pagerank;
}