Skip to content

Commit aa4e5ba

Browse files
TLSDCgasse
authored andcommitted
enabling chat o_0 (#124)
1 parent b22a7c0 commit aa4e5ba

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/agentlab/ui_assistant.py

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
from browsergym.experiments.loop import EnvArgs, ExpArgs
44

55
from agentlab.agents.agent_args import AgentArgs
6+
from agentlab.agents.generic_agent.generic_agent import GenericAgentArgs
67
from agentlab.experiments.exp_utils import RESULTS_DIR
78
from agentlab.experiments.launch_exp import import_object
89

@@ -14,6 +15,9 @@ def make_exp_args(agent_args: AgentArgs, start_url="https://www.google.com"):
1415
except AttributeError:
1516
pass
1617

18+
if isinstance(agent_args, GenericAgentArgs):
19+
agent_args.flags.enable_chat = True
20+
1721
exp_args = ExpArgs(
1822
agent_args=agent_args,
1923
env_args=EnvArgs(

0 commit comments

Comments
 (0)