ai哥说的对
This commit is contained in:
@@ -188,7 +188,6 @@ class Conversation:
|
|||||||
goal_ended = False
|
goal_ended = False
|
||||||
if hasattr(self.conversation_info, "goal_list") and self.conversation_info.goal_list:
|
if hasattr(self.conversation_info, "goal_list") and self.conversation_info.goal_list:
|
||||||
for goal_item in self.conversation_info.goal_list:
|
for goal_item in self.conversation_info.goal_list:
|
||||||
current_goal = None
|
|
||||||
if isinstance(goal_item, dict):
|
if isinstance(goal_item, dict):
|
||||||
current_goal = goal_item.get("goal")
|
current_goal = goal_item.get("goal")
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user