akseljoonas HF Staff commited on
Commit
7e21458
·
1 Parent(s): e7068c0
Files changed (1) hide show
  1. eval/solvers.py +3 -3
eval/solvers.py CHANGED
@@ -32,8 +32,8 @@ async def _run_subprocess(command: Sequence[str]) -> str:
32
  return stdout.decode().strip()
33
 
34
 
35
- @solver(name="hf_agent_solver")
36
- def hf_agent_solver(
37
  config_path: str = "agent/config_mcp_example.json",
38
  max_iterations: int = 10,
39
  ) -> Solver:
@@ -147,7 +147,7 @@ def claude_code_hf_mcp(
147
 
148
 
149
  SOLVER_REGISTRY: Dict[str, Callable[..., Solver]] = {
150
- "hf_agent_solver": hf_agent_solver,
151
  "claude_code": claude_code,
152
  "claude_code+hf_mcp": claude_code_hf_mcp,
153
  }
 
32
  return stdout.decode().strip()
33
 
34
 
35
+ @solver(name="hf_agent")
36
+ def hf_agent(
37
  config_path: str = "agent/config_mcp_example.json",
38
  max_iterations: int = 10,
39
  ) -> Solver:
 
147
 
148
 
149
  SOLVER_REGISTRY: Dict[str, Callable[..., Solver]] = {
150
+ "hf_agent": hf_agent,
151
  "claude_code": claude_code,
152
  "claude_code+hf_mcp": claude_code_hf_mcp,
153
  }