Replies: 1 comment
-
|
Thank you so much for this thoughtful and well-structured proposal! 🙏 We are truly honored that so many developers recognize and use our open-source tool. Your feedback means a lot to us. We fully agree that lowering the onboarding cost for new users is critical. We will prioritize this feature request as our #1 priority and start working on preset model providers and streamlined configuration as soon as possible. Stay tuned for updates — we will keep this discussion posted on progress. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Idea: Preset Model Providers & Multi-Model Switching
Background
Most mainstream Coding Agents today (Claude Code, Cursor, Cline, Continue, etc.) ship with a set of preset model providers (OpenAI, Anthropic, DeepSeek, Qwen, Gemini, OpenRouter, and so on). To configure a model, users typically only need to:
That's it — no need to manually figure out the BaseUrl, decide whether the provider speaks the Anthropic protocol, or debug auth headers.
The current model configuration in
open-code-reviewhas two pain points compared to this:UseAnthropicflag, etc.) on their own. The onboarding cost is high, and a single wrong field can cost a long debugging session.open-code-reviewacross multiple models to compare results;Proposed Features
I'd like to propose adding the following two capabilities to
open-code-review(inspired by pi's provider and custom module/provider):1. Preset Model Providers
Ship a built-in catalog of common providers updated with each release. Each entry contains pre-configured fields:
name"Anthropic","DeepSeek"baseUrl"https://api.anthropic.com"api"anthropic-messages"/"openai-completions"/"google-generative-ai"apiKeyEnv"ANTHROPIC_API_KEY","DEEPSEEK_API_KEY"modelscompatAfter picking a provider, the user only needs to supply an API key (via environment variable or config file) — skipping low-level fields like
BaseUrl,apiprotocol type, orUseAnthropic. A "Custom Provider" option should still be kept for self-hosted deployments or new vendors not yet in the catalog.Why
compatmatters:Even providers speaking the same protocol family (e.g. OpenAI Chat Completions) have subtle differences. Pre-configured
compatfields let users switch providers without knowing these details:supportsDeveloperRoledeveloperrolefalsefor Ollama/vLLMsupportsReasoningEffortreasoning_effortis supportedmaxTokensField"max_completion_tokens"vs"max_tokens"thinkingFormat"deepseek"/"openrouter"/"qwen"etc.supportsEagerToolInputStreamingCustom provider mechanism:
Allow users to extend providers in config:
Custom providers appear alongside built-in providers in the model selector / config UI.
2. Multi-Model Configuration & Switching
Let users save multiple named model profiles and switch between them on demand, instead of rewriting the config every time.
Model profiles in config:
Switching methods:
ocr --profile deepseek-v3 --diff pr.diffdefaultProfile: deepseek-v3Parallel multi-model review (advanced):
Specify multiple profiles to review the same diff concurrently, then merge or present side by side for cross-validation:
Expected Benefits
Significantly lower onboarding cost. New users no longer need to research each vendor's API endpoint, protocol type, or whether
developerrole is supported. Pick a preset provider, configure an API key, and go. This model has been proven effective by pi, Claude Code, Cursor, and other mainstream tools.Higher experimentation efficiency. Switch between models with a single CLI flag or profile name, without repeatedly rewriting config files. The community can easily compare how different models perform on code review tasks, helping the project gather quality feedback across models.
Higher review quality via multi-model ensemble. Cross-model review meaningfully reduces the blind spots and biases of any single model. Reviewing the same diff with several models and merging or comparing results provides a tangible quality lift for critical codebases.
Flexible extensibility. Built-in presets cover mainstream providers, while the custom provider entry accommodates self-hosted deployments (Ollama / vLLM / LM Studio), enterprise gateway proxies, and new vendors not yet in the catalog.
Transparent adapter for vendor quirks. Pre-configured
compattuning parameters ensure the tool automatically adapts to protocol differences — thinking parameter format, role field names, context window size, etc. — even when the user switches between very different providers (e.g. OpenAI → DeepSeek → local model).Open Questions for Discussion
open-code-review?Feedback and ideas are very welcome 🙌
Beta Was this translation helpful? Give feedback.
All reactions