mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-21 03:39:54 +00:00
6c78305294
_PROVIDER_MODELS["xai"] was pointing at model IDs the xAI direct API no longer accepts: - grok-4.20-reasoning - grok-4-1-fast-reasoning Replaced with the actual current xAI catalog IDs from models.dev ($HERMES_HOME/models_dev_cache.json, mirror of https://models.dev/api.json): grok-4.20-0309-reasoning grok-4.20-0309-non-reasoning grok-4.20-multi-agent-0309 grok-4-1-fast grok-4-1-fast-non-reasoning grok-4-fast grok-4-fast-non-reasoning grok-4 grok-code-fast-1 The xAI-direct API (https://api.x.ai/v1) serves the dated IDs shown above; the bare aliases (grok-4.20, grok-4.1-fast, etc.) are OpenRouter/Vercel-gateway normalizations and are not accepted on xAI-direct. Those gateways remain unaffected. Fixes #16699