Skip to content

Commit 211c087

Browse files
committed
gaia2 typing fix
1 parent 811a924 commit 211c087

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

maseval/benchmark/gaia2/gaia2.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1217,7 +1217,7 @@ def setup_agents( # type: ignore[override]
12171217
model = self.get_model_adapter(model_id, register_name="agent_model", seed=agent_seed)
12181218

12191219
agent = DefaultGaia2Agent(
1220-
tools=tools, # type: ignore[arg-type] # AREToolWrapper is Callable
1220+
tools=tools, # type: ignore[arg-type] # Gaia2GenericTool has __call__
12211221
model=model,
12221222
environment=environment,
12231223
llm_args=llm_args,

tests/test_benchmarks/test_gaia2/test_integration.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -159,7 +159,7 @@ def test_agent_builds_system_prompt_with_real_tools(self, first_real_task):
159159
)
160160

161161
agent = DefaultGaia2Agent(
162-
tools=tools,
162+
tools=tools, # type: ignore[arg-type] # Gaia2GenericTool has __call__
163163
model=model,
164164
environment=env,
165165
max_iterations=1,

0 commit comments

Comments
 (0)