mirror of https://github.com/Mai-with-u/MaiBot.git
fix ReplyChecker错误
parent
0b51aeb43e
commit
71f35d8f73
|
|
@ -308,9 +308,7 @@ class Conversation:
|
|||
# 2. 检查回复 (逻辑不变)
|
||||
self.state = ConversationState.CHECKING
|
||||
try:
|
||||
print(conversation_info.goal_list)
|
||||
current_goal_str = conversation_info.goal_list[0]["goal"] if conversation_info.goal_list else ""
|
||||
print("跳过小虫虫\n")
|
||||
is_suitable, check_reason, need_replan = await self.reply_generator.check_reply(
|
||||
reply=self.generated_reply,
|
||||
goal=current_goal_str,
|
||||
|
|
@ -394,7 +392,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,
|
||||
|
|
|
|||
Loading…
Reference in New Issue