Skip to content

Commit e7aa807

Browse files
committed
fix
1 parent e6f1f5d commit e7aa807

File tree

1 file changed

+3
-3
lines changed
  • src/agentlab/backends/browser

1 file changed

+3
-3
lines changed

src/agentlab/backends/browser/env.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def final_step():
2121
"pruned_html": "Task finished",
2222
"axtree_txt": "",
2323
"last_action_error": "",
24-
"focused_element_bid": "none",
24+
"focused_element_bid": "",
2525
}
2626

2727

@@ -62,7 +62,7 @@ def _get_obs(self) -> dict:
6262
"axtree_txt": axtree,
6363
"screenshot": screenshot,
6464
"last_action_error": "",
65-
"focused_element_bid": "none",
65+
"focused_element_bid": "",
6666
}
6767
return obs
6868

@@ -111,7 +111,7 @@ def obs_postprocess(self, obs: dict) -> dict:
111111
if "last_action_error" not in obs:
112112
obs["last_action_error"] = ""
113113
if "focused_element_bid" not in obs:
114-
obs["focused_element_bid"] = "none"
114+
obs["focused_element_bid"] = ""
115115
if isinstance(self.task, AbstractWebTask):
116116
obs = self.task.obs_postprocess(obs)
117117
return obs

0 commit comments

Comments
 (0)