Feat/more openrouter models - #2
Merged
Merged
Conversation
Add 5 new free models (gpt-oss-120b, qwen3-coder, nex-n2-pro, gpt-oss-20b, nemotron-omni-30b-reasoning) verified against the OpenRouter API. Inserted at high-priority slots so larger/stronger models are tried before smaller fallbacks. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Refactor llm.py to route each model to its own OpenAI-compatible client via "provider>model_id" format in the chain. No prefix = openrouter (backward compat). Add Groq as second provider with 3 free models (llama-3.3-70b-versatile, qwen3.6-27b, llama-3.1-8b-instant). Adding a future provider requires: one dict entry in _provider_registry(), two env vars in config.py, and prefixed model IDs in GENERATION_MODELS. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Extend multi-provider registry with Cerebras (wafer-scale ~2000 tok/s) and Mistral AI (free-tier). Add 5 new models to fallback chain: cerebras>llama-3.3-70b, cerebras>qwen-3-32b, cerebras>llama-3.1-8b, mistral>mistral-small-latest, mistral>open-mistral-nemo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.