Skip to content

Commit 6e634d9

Browse files
committed
removed the data saving loop, ran black, updated readme
1 parent 8aa3560 commit 6e634d9

3 files changed

Lines changed: 7 additions & 231 deletions

File tree

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ AgentLab Features:
6363
| [Mind2Web-live](https://huggingface.co/datasets/iMeanAI/Mind2Web-Live) (soon) | - | - | None | - | - | live web | soon |
6464
| [MiniWoB](https://miniwob.farama.org/index.html) | [setup](https://github.com/ServiceNow/BrowserGym/blob/main/browsergym/miniwob/README.md) | 125 | Medium | 10 | no | self hosted (static files) | soon |
6565
| [OSWorld](https://os-world.github.io/) | [setup](https://github.com/ServiceNow/AgentLab/blob/main/src/agentlab/benchmarks/osworld.md) | 369 | None | - | - | self hosted | soon |
66+
| [TimeWarp](https://timewarp-web.github.io/) | [setup](https://github.com/sparklabutah/timewarp) | 1386 | None | 30 | yes | self hosted | soon |
6667

6768

6869
## 🛠️ Setup AgentLab

src/agentlab/agents/generic_agent/generic_agent_with_training.py

Lines changed: 0 additions & 225 deletions
This file was deleted.

src/agentlab/experiments/loop.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -415,11 +415,11 @@ def run(self):
415415
try:
416416
logger.info(f"Running experiment {self.exp_name} in:\n {self.exp_dir}")
417417
agent = self.agent_args.make_agent()
418-
418+
419419
# Set training data directory for agents that support it
420-
if hasattr(agent, 'set_training_data_dir'):
420+
if hasattr(agent, "set_training_data_dir"):
421421
agent.set_training_data_dir(Path(self.exp_dir))
422-
422+
423423
if hasattr(agent, "set_task_name"):
424424
agent.set_task_name(self.env_args.task_name)
425425

@@ -441,11 +441,11 @@ def run(self):
441441

442442
while not step_info.is_done: # set a limit
443443
logger.debug(f"Starting step {step_info.step}.")
444-
444+
445445
# Set current step for training data capture
446-
if hasattr(agent, 'set_current_step'):
446+
if hasattr(agent, "set_current_step"):
447447
agent.set_current_step(step_info.step)
448-
448+
449449
action = step_info.from_action(agent)
450450
logger.debug(f"Agent chose action:\n {action}")
451451

0 commit comments

Comments
 (0)