-
Notifications
You must be signed in to change notification settings - Fork 469
feat(providers): add BizRouter preset to the provider registry #385
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -644,6 +644,18 @@ export const PROVIDER_REGISTRY: readonly ProviderRegistryEntry[] = [ | |
| preserveReasoningContentModels: ["deepseek/deepseek-v4-pro"], | ||
| note: "OpenAI-compatible adaptive router. Default is a tool-capable model; orcarouter/auto (adaptive routing) is also selectable. Full catalog: https://www.orcarouter.ai/models", | ||
| }, | ||
| { | ||
| // BizRouter: Korean enterprise LLM gateway (api.bizrouter.ai). Model ids are | ||
| // vendor-namespaced (`<vendor>/<model>`) and pass through to the upstream as-is. | ||
| // Live-verified 2026-07-24: /v1/chat/completions accepts the `tools` field and | ||
| // streams, and GET /v1/models returns the per-API-key allowed catalog in the | ||
| // OpenAI list shape, so live model discovery narrows to what the key can use. | ||
| id: "bizrouter", label: "BizRouter", adapter: "openai-chat", baseUrl: "https://api.bizrouter.ai/v1", | ||
| authKind: "key", dashboardUrl: "https://bizrouter.ai/settings/keys", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
This new preset participates in the API-key login path ( Useful? React with 👍 / 👎. |
||
| defaultModel: "openai/gpt-5.6-sol", | ||
| models: ["openai/gpt-5.6-sol", "anthropic/claude-sonnet-5", "google/gemini-3.5-flash"], | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
When BizRouter live discovery is unavailable or returns only model ids, these seeded rows have no Useful? React with 👍 / 👎. |
||
| note: "Korean enterprise LLM gateway. Per-key allowed models are discovered live from /v1/models. Full catalog: https://bizrouter.ai/models", | ||
| }, | ||
| { id: "groq", label: "Groq", adapter: "openai-chat", baseUrl: "https://api.groq.com/openai/v1", authKind: "key", featured: true, dashboardUrl: "https://console.groq.com/keys" }, | ||
| // 2026-07-10 Gemini API refresh: Tier-2 ai.google.dev evidence recorded in | ||
| // devlog/_plan/260710_provider_hardening/001_research_frontier.md. | ||
|
|
||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -29,7 +29,7 @@ function nativeTemplate(): Record<string, unknown> { | |
| } | ||
|
|
||
| const EXPECTED_KEY_PROVIDER_IDS = [ | ||
| "anthropic-apikey", "openai-apikey", "umans", "opencode-go", "neuralwatt", "openrouter", "orcarouter", "groq", "google", "google-vertex", "azure-openai", | ||
| "anthropic-apikey", "openai-apikey", "umans", "opencode-go", "neuralwatt", "openrouter", "orcarouter", "bizrouter", "groq", "google", "google-vertex", "azure-openai", | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Add a focused BizRouter registry regression test. The parity list only checks that As per path instructions, a behavior change in 🤖 Prompt for AI AgentsSource: Path instructions There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Adding only Useful? React with 👍 / 👎. |
||
| "deepseek", "cerebras", "together", "fireworks", "firepass", "moonshot", | ||
| "huggingface", "nvidia", "venice", "zai", "nanogpt", "synthetic", "siliconflow", "qwen-cloud", "tencent-coding-plan", | ||
| "qianfan", "alibaba", "alibaba-token-plan", "alibaba-token-plan-intl", "parallel", "zenmux", "litellm", "ollama-cloud", "mistral", | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This new preset participates in the API-key login path (
authKind: "key"with a key dashboard), so it expands where opencodex collects, validates, stores, and forwards user credentials. Please make sure this change is explicitly routed through the repository's security review before merge, rather than treating it as a registry-only data addition.AGENTS.md reference: AGENTS.md:L65-L69
Useful? React with 👍 / 👎.