fix: 修复回复分割问题
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m46s
All checks were successful
Build and Push Docker Image / build-and-push (push) Successful in 3m46s
This commit is contained in:
@@ -1801,8 +1801,9 @@ class DefaultReplyer:
|
||||
)
|
||||
|
||||
if content:
|
||||
# 移除 [SPLIT] 标记,防止消息被分割
|
||||
content = content.replace("[SPLIT]", "")
|
||||
if not global_config.response_splitter.enable or global_config.response_splitter.split_mode != 'llm':
|
||||
# 移除 [SPLIT] 标记,防止消息被分割
|
||||
content = content.replace("[SPLIT]", "")
|
||||
|
||||
# 应用统一的格式过滤器
|
||||
from src.chat.utils.utils import filter_system_format_content
|
||||
|
||||
Reference in New Issue
Block a user