feat:修复normal_chat BUG,添加调试选项

This commit is contained in:
SengokuCola
2025-05-28 12:41:43 +08:00
parent 2c973244e3
commit 7fcd5c9abe
11 changed files with 36 additions and 164 deletions

View File

@@ -408,6 +408,10 @@ class DefaultExpressor:
# 为每个消息片段生成唯一ID
type = msg_text[0]
data = msg_text[1]
if global_config.experimental.debug_show_chat_mode and type == "text":
data += ""
part_message_id = f"{thinking_id}_{i}"
message_segment = Seg(type=type, data=data)