- 100 registry files: transport + models co-located per provider (Mongoose-style) - providers/shared.js: shared Claude headers + OS/arch helpers (deduped) - providers/models/helpers.js: withCodexReviewModels (kept dynamic) - providers/index.js builds PROVIDERS + PROVIDER_MODELS = old API (content byte-for-byte) - config/providers.js + providerModels.js → barrel re-export, keep accessors + runtime helpers - Verified: PROVIDERS/MODELS/OAuth/alias byte-for-byte, golden translator tests pass, 0 new regression Co-authored-by: Cursor <cursoragent@cursor.com>
76 lines
1.5 KiB
JavaScript
76 lines
1.5 KiB
JavaScript
export default {
|
|
"id": "iflow",
|
|
"alias": "if",
|
|
"transport": {
|
|
"baseUrl": "https://apis.iflow.cn/v1/chat/completions",
|
|
"headers": {
|
|
"User-Agent": "iFlow-Cli"
|
|
},
|
|
"clientId": "10009311001",
|
|
"clientSecret": "4Z3YjXycVsQvyGF1etiNlIBB4RsqSDtW",
|
|
"tokenUrl": "https://iflow.cn/oauth/token",
|
|
"authUrl": "https://iflow.cn/oauth"
|
|
},
|
|
"models": [
|
|
{
|
|
"id": "qwen3-coder-plus",
|
|
"name": "Qwen3 Coder Plus"
|
|
},
|
|
{
|
|
"id": "qwen3-max",
|
|
"name": "Qwen3 Max"
|
|
},
|
|
{
|
|
"id": "qwen3-vl-plus",
|
|
"name": "Qwen3 VL Plus"
|
|
},
|
|
{
|
|
"id": "qwen3-max-preview",
|
|
"name": "Qwen3 Max Preview"
|
|
},
|
|
{
|
|
"id": "qwen3-235b",
|
|
"name": "Qwen3 235B A22B"
|
|
},
|
|
{
|
|
"id": "qwen3-235b-a22b-instruct",
|
|
"name": "Qwen3 235B A22B Instruct"
|
|
},
|
|
{
|
|
"id": "qwen3-235b-a22b-thinking-2507",
|
|
"name": "Qwen3 235B A22B Thinking"
|
|
},
|
|
{
|
|
"id": "qwen3-32b",
|
|
"name": "Qwen3 32B"
|
|
},
|
|
{
|
|
"id": "kimi-k2",
|
|
"name": "Kimi K2"
|
|
},
|
|
{
|
|
"id": "deepseek-v3.2",
|
|
"name": "DeepSeek V3.2 Exp"
|
|
},
|
|
{
|
|
"id": "deepseek-v3.1",
|
|
"name": "DeepSeek V3.1 Terminus"
|
|
},
|
|
{
|
|
"id": "deepseek-v3",
|
|
"name": "DeepSeek V3 671B"
|
|
},
|
|
{
|
|
"id": "deepseek-r1",
|
|
"name": "DeepSeek R1"
|
|
},
|
|
{
|
|
"id": "glm-4.7",
|
|
"name": "GLM 4.7"
|
|
},
|
|
{
|
|
"id": "iflow-rome-30ba3b",
|
|
"name": "iFlow ROME"
|
|
}
|
|
]
|
|
};
|