Skip to content

Commit 9b300b1

Browse files
committed
fix test
1 parent 2bed049 commit 9b300b1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/agentlab/experiments/loop.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
import numpy as np
2121
from browsergym.core.chat import Chat
2222
from browsergym.experiments.agent import Agent
23-
from browsergym.experiments.utils import count_messages_token, count_tokens
23+
from browsergym.experiments.utils import count_tokens
2424
from dataclasses_json import DataClassJsonMixin
2525
from PIL import Image
2626
from tqdm import tqdm
@@ -48,7 +48,7 @@ class EnvArgs(DataClassJsonMixin):
4848
slow_mo: Optional[int] = None # use default value from BrowserGym
4949
storage_state: Optional[str | Path | dict] = None
5050
task_kwargs: Optional[dict] = None # use default value from BrowserGym
51-
pre_observation_delay: float = 0.5 # seconds, wait for JS events to be fired
51+
pre_observation_delay: float = None # seconds, wait for JS events to be fired
5252

5353
def make_env(
5454
self, action_mapping, exp_dir, exp_task_kwargs: dict = {}, use_raw_page_output=True

0 commit comments

Comments
 (0)