Skip to content

Commit 2b79b50

Browse files
Temp commit for xray [Update toolagent config to be primitive types]
1 parent 49fac6c commit 2b79b50

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

src/agentlab/agents/tool_use_agent/tool_use_agent.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -598,5 +598,5 @@ def get_action(self, obs: Any) -> float:
598598
multiaction=False, # whether to use multi-action or not
599599
action_subsets=("coord",),
600600
),
601-
action_set=OSWorldActionSet("computer_13"), # or "pyautogui"
602-
)
601+
action_set=OSWorldActionSet("computer_13"), # or "pyautogui" #TODO: agent config should only be some primitive types.
602+
)

src/agentlab/analyze/inspect_results.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ def load_result_df(
109109
set_index=True,
110110
result_df=None,
111111
index_white_list=("agent.*",),
112-
index_black_list=("*model_url*", "*extra*", "*._*"),
112+
index_black_list=("*model_url*", "*extra*", "*._*", "*action_set"),
113113
remove_args_suffix=True,
114114
):
115115
"""Load the result dataframe.

0 commit comments

Comments
 (0)