Skip to content

Commit a40aa42

Browse files
Update Claude agent config to include axtree and obs history
1 parent bdb7ab1 commit a40aa42

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/agentlab/agents/tool_use_agent/tool_use_agent.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -563,15 +563,15 @@ def get_action(self, obs: Any) -> float:
563563
obs=Obs(
564564
use_last_error=True,
565565
use_screenshot=True,
566-
use_axtree=False,
566+
use_axtree=True,
567567
use_dom=False,
568568
use_som=False,
569569
use_tabs=False,
570570
),
571-
summarizer=Summarizer(do_summary=True),
571+
summarizer=Summarizer(do_summary=True), # do not summarize in OSWorld
572572
general_hints=GeneralHints(use_hints=False),
573573
task_hint=TaskHint(use_task_hint=False),
574-
keep_last_n_obs=1, # keep only the last observation in the discussion
574+
keep_last_n_obs=None, # keep only the last observation in the discussion
575575
multiaction=False, # whether to use multi-action or not
576576
action_subsets=("coord",), # or "bid"
577577
),

0 commit comments

Comments
 (0)