File tree Expand file tree Collapse file tree 2 files changed +4
-7
lines changed
src/agentlab/agents/tool_use_agent Expand file tree Collapse file tree 2 files changed +4
-7
lines changed Original file line number Diff line number Diff line change @@ -28,7 +28,7 @@ def get_task_ids() -> set[str]:
2828def main ():
2929 n_jobs = 4
3030 use_vmware = True
31- relaunch = True
31+ relaunch = False
3232 agent_args = [
3333 OSWORLD_CLAUDE ,
3434 # OSWORLD_OAI # performs poorly.
Original file line number Diff line number Diff line change 77from typing import Any
88
99import bgym
10- import numpy as np
1110import pandas as pd
11+ from bgym import Benchmark as BgymBenchmark
1212from browsergym .core .observation import extract_screenshot
1313from browsergym .utils .obs import (
1414 flatten_axtree_to_str ,
1515 flatten_dom_to_str ,
1616 overlay_som ,
1717 prune_html ,
1818)
19- from PIL import Image
2019
21- from agentlab .agents import agent_utils
22- from agentlab .benchmarks .abstract_env import AbstractBenchmark as AgentLabBenchmark
23- from bgym import Benchmark as BgymBenchmark
2420from agentlab .agents .agent_args import AgentArgs
21+ from agentlab .benchmarks .abstract_env import AbstractBenchmark as AgentLabBenchmark
2522from agentlab .benchmarks .osworld import OSWorldActionSet
2623from agentlab .llm .base_api import BaseModelArgs
2724from agentlab .llm .llm_utils import image_to_png_base64_url
@@ -629,7 +626,7 @@ def get_action(self, obs: Any) -> float:
629626)
630627
631628OSWORLD_OAI = ToolUseAgentArgs (
632- model_args = OPENAI_MODEL_CONFIG ,
629+ model_args = GPT_4_1_MINI ,
633630 config = PromptConfig (
634631 tag_screenshot = True ,
635632 goal = Goal (goal_as_system_msg = True ),
You can’t perform that action at this time.
0 commit comments