reply set 数据模型化准备

This commit is contained in:
UnCLAS-Prommer
2025-09-08 00:34:06 +08:00
parent 08e1187452
commit ac2936d5fc
6 changed files with 51 additions and 5 deletions

View File

@@ -339,7 +339,7 @@ def process_llm_response(text: str, enable_splitter: bool = True, enable_chinese
else:
split_sentences = [cleaned_text]
sentences = []
sentences: List[str] = []
for sentence in split_sentences:
if global_config.chinese_typo.enable and enable_chinese_typo:
typoed_text, typo_corrections = typo_generator.create_typo_sentence(sentence)