修复神奇的0错误

pull/873/head
Bakadax 2025-04-27 17:55:23 +08:00
parent 02b7ea79db
commit 2ee60ae989
1 changed files with 1 additions and 1 deletions

View File

@ -308,7 +308,7 @@ class Conversation:
# 2. 检查回复 (逻辑不变)
self.state = ConversationState.CHECKING
try:
current_goal_str = conversation_info.goal_list[0][0] if conversation_info.goal_list else ""
current_goal_str = conversation_info.goal_list[0]["goal"] if conversation_info.goal_list else ""
is_suitable, check_reason, need_replan = await self.reply_generator.check_reply(
reply=self.generated_reply,
goal=current_goal_str,