The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
feat(models): add qwen3.8-max to Nous portal + OpenRouter catalogs, replacing qwen3.7-max
Teknium3c3ae7428dca
diff --git a/agent/model_metadata.py b/agent/model_metadata.pyindex b1701c32e89..c147ef126b1 100644--- a/agent/model_metadata.py+++ b/agent/model_metadata.py@@ -472,6 +472,7 @@ DEFAULT_CONTEXT_LENGTHS = {"llama": 131072,# Qwen — specific model families before the catch-all.# Official docs: https://help.aliyun.com/zh/model-studio/developer-reference/+ "qwen3.8-max": 1_000_000, # 1M context (OpenRouter & Nous portal, verified 2026-08-03)"qwen3.6-plus": 1048576, # 1M context (DashScope/Alibaba & OpenRouter)"qwen3.7-plus": 1048576, # 1M context (DashScope/Alibaba)"qwen3-coder-plus": 1000000, # 1M contextdiff --git a/hermes_cli/models.py b/hermes_cli/models.pyindex 75597f4602a..e2e6c967f9d 100644--- a/hermes_cli/models.py+++ b/hermes_cli/models.py@@ -72,7 +72,7 @@ OPENROUTER_MODELS: list[tuple[str, str]] = [("deepseek/deepseek-v4-flash", ""),("deepseek/deepseek-v4-flash-0731", "dated snapshot of v4-flash"),# Qwen- ("qwen/qwen3.7-max", ""),+ ("qwen/qwen3.8-max", ""),# MoonshotAI("moonshotai/kimi-k3", "recommended"),# MiniMax@@ -244,7 +244,7 @@ _PROVIDER_MODELS: dict[str, list[str]] = {"deepseek/deepseek-v4-flash","deepseek/deepseek-v4-flash-0731",# Qwen- "qwen/qwen3.7-max",+ "qwen/qwen3.8-max",# MoonshotAI"moonshotai/kimi-k3",# MiniMaxdiff --git a/tests/test_empty_model_fallback.py b/tests/test_empty_model_fallback.pyindex 7a0ec903df9..3d7f8505ec6 100644--- a/tests/test_empty_model_fallback.py+++ b/tests/test_empty_model_fallback.py@@ -27,16 +27,16 @@ class TestGetDefaultModelForProvider:with patch("hermes_cli.model_catalog.get_default_model_from_cache",- return_value="qwen/qwen3.7-max",+ return_value="qwen/qwen3.8-max",):assert (models_mod.get_preferred_silent_default_model("nous")- == "qwen/qwen3.7-max"+ == "qwen/qwen3.8-max")- # nous catalog carries qwen3.7-max, so the full resolver follows.+ # nous catalog carries qwen3.8-max, so the full resolver follows.assert (models_mod.get_default_model_for_provider("nous")- == "qwen/qwen3.7-max"+ == "qwen/qwen3.8-max")diff --git a/website/static/api/model-catalog.json b/website/static/api/model-catalog.jsonindex 549edb04230..946ea073cbe 100644--- a/website/static/api/model-catalog.json+++ b/website/static/api/model-catalog.json@@ -1,6 +1,6 @@{"version": 1,- "updated_at": "2026-07-31T15:41:39Z",+ "updated_at": "2026-08-03T22:03:15Z","metadata": {"source": "hermes-agent repo","docs": "https://hermes-agent.nousresearch.com/docs/reference/model-catalog"@@ -101,7 +101,7 @@"description": "dated snapshot of v4-flash"},{- "id": "qwen/qwen3.7-max",+ "id": "qwen/qwen3.8-max","description": ""},{@@ -238,7 +238,7 @@"id": "deepseek/deepseek-v4-flash-0731"},{- "id": "qwen/qwen3.7-max"+ "id": "qwen/qwen3.8-max"},{"id": "moonshotai/kimi-k3"