fix: update OpenRouter model names for yc-bench config

Use anthropic/claude-sonnet-4.6 (OpenRouter format) instead of
anthropic/claude-sonnet-4-20250514 (direct API format).
This commit is contained in:
teknium1
2026-03-06 19:58:56 -08:00
parent b4fbb6fe10
commit ce28f847ce
2 changed files with 2 additions and 2 deletions

View File

@@ -37,7 +37,7 @@ env:
openai:
base_url: "https://openrouter.ai/api/v1"
model_name: "anthropic/claude-sonnet-4-20250514"
model_name: "anthropic/claude-sonnet-4.6"
server_type: "openai"
health_check: false
# api_key loaded from OPENROUTER_API_KEY in .env

View File

@@ -375,7 +375,7 @@ class YCBenchEvalEnv(HermesAgentBaseEnv):
server_configs = [
APIServerConfig(
base_url="https://openrouter.ai/api/v1",
model_name="anthropic/claude-sonnet-4-20250514",
model_name="anthropic/claude-sonnet-4.6",
server_type="openai",
api_key=os.getenv("OPENROUTER_API_KEY", ""),
health_check=False,