fix;修复提取消息和运行bug

This commit is contained in:
SengokuCola
2025-05-17 01:03:20 +08:00
parent 5e37d48735
commit d26d69de60
7 changed files with 472 additions and 5 deletions

View File

@@ -380,7 +380,7 @@ def process_llm_response(text: str) -> list[str]:
# sentences.append(content)
# 在所有句子处理完毕后,对包含占位符的列表进行恢复
if global_config.enable_kaomoji_protection:
if global_config.response_splitter.enable_kaomoji_protection:
sentences = recover_kaomoji(sentences, kaomoji_mapping)
return sentences