Skip to content

Commit a827344

Browse files
committed
fix agent_info as dict
1 parent f5ad036 commit a827344

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/agentlab/agents/generic_agent/generic_agent.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -168,7 +168,7 @@ def get_action(self, obs):
168168
stats=stats,
169169
extra_info={"chat_model_args": asdict(self.chat_model_args)},
170170
)
171-
return ans_dict["action"], agent_info
171+
return ans_dict["action"], asdict(agent_info)
172172

173173
def reset(self, seed=None):
174174
self.seed = seed

0 commit comments

Comments
 (0)