修复配置名称

This commit is contained in:
SengokuCola
2025-05-27 23:15:35 +08:00
parent 7b05bb3b66
commit e0a8905c77
5 changed files with 3 additions and 207 deletions

View File

@@ -38,7 +38,7 @@ class NormalChatGenerator:
async def generate_response(self, message: MessageThinking, thinking_id: str) -> Optional[Union[str, List[str]]]:
"""根据当前模型类型选择对应的生成函数"""
# 从global_config中获取模型概率值并选择模型
if random.random() < global_config.normal_chat.reasoning_model_probability:
if random.random() < global_config.normal_chat.normal_chat_first_probability:
self.current_model_type = "深深地"
current_model = self.model_reasoning
else: