You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
team = RoundRobinGroupChat([primary_agent, critic_agent], termination_condition=text_termination, max_turns=max_rounds)
if os.path.exists("./team_state.json"):
with open("./team_state.json", "r") as f:
team_state = json.load(f)
team.load_state(team_state)
result = await team.run(task=user_message)
team_state = await team.save_state()
with open("./team_state.json", "w") as fw:
json.dump(team_state, fw)
return result
the state file exists,
i verified using step by step debug that the team's state initialized based on persisted state
Still the team ignores the state that was loaded.
the tasks i gave the team were:
the weather in NYC in january
and in paris?
the response to the second question was: "Please provide more context or specify what you would like to know about Paris."
any ideas?
thank you
The text was updated successfully, but these errors were encountered:
Hello,
here 's my code:
the state file exists,
i verified using step by step debug that the team's state initialized based on persisted state
Still the team ignores the state that was loaded.
the tasks i gave the team were:
the response to the second question was: "Please provide more context or specify what you would like to know about Paris."
any ideas?
thank you
The text was updated successfully, but these errors were encountered: