mirror of https://github.com/Mai-with-u/MaiBot.git
修复神奇的0错误
parent
02b7ea79db
commit
2ee60ae989
|
|
@ -308,7 +308,7 @@ class Conversation:
|
||||||
# 2. 检查回复 (逻辑不变)
|
# 2. 检查回复 (逻辑不变)
|
||||||
self.state = ConversationState.CHECKING
|
self.state = ConversationState.CHECKING
|
||||||
try:
|
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(
|
is_suitable, check_reason, need_replan = await self.reply_generator.check_reply(
|
||||||
reply=self.generated_reply,
|
reply=self.generated_reply,
|
||||||
goal=current_goal_str,
|
goal=current_goal_str,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue