Skip to content

Open-source Python library for AI browser agents, plus Browser Use Cloud: stealth browsers and a hosted agent API.

changed model_name to model in evals for ChatAnthropic

Gregor Žunič70e9b271ad39
diff --git a/eval/service.py b/eval/service.py
index e70d01dd4..f92abc916 100644
--- a/eval/service.py
+++ b/eval/service.py
@@ -875,7 +875,7 @@ def get_llm(model_name: str):
kwargs['api_key'] = api_key
return ChatOpenAI(**kwargs)
case 'anthropic':
- kwargs = {'model_name': config['model_name'], 'temperature': 0.0, 'timeout': 100, 'stop': None}
+ kwargs = {'model': config['model_name'], 'temperature': 0.0, 'timeout': 100, 'stop': None}
if api_key:
kwargs['api_key'] = api_key
return ChatAnthropic(**kwargs)