Skip to content

v0.3.11 - Enforce OpenRouter-only for Grok and GLM

Choose a tag to compare

@chuks chuks released this 28 Nov 03:45
· 136 commits to main since this release

What's New

  • OpenRouter-only enforcement for Grok and GLM models
    • These models are only available on OpenRouter, not Azure/AWS/Google/etc.
    • In mixed provider mode, routing these models to non-OpenRouter providers now shows a clear error
    • Runtime routing automatically uses OpenRouter regardless of global provider setting

Technical Changes

  • Added OPENROUTER_ONLY_MODELS list in providers.py
  • get_provider_for_model() now forces OpenRouter for Grok/GLM
  • Mixed mode validation rejects invalid routing configurations
  • Updated model_registry.py with all model ID variants

Installation

pip install synod-cli --upgrade