mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
fix(providers): count apikey connections for freeTier providers
openrouter, nvidia, gemini lack authModes, so dualAuthTypes on the providers page defaulted to "oauth" and their apikey connections showed as "No connections" on the freeTier card. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
31df0635aa
commit
1319dea620
@@ -16,6 +16,8 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
category: "freeTier",
|
category: "freeTier",
|
||||||
|
authType: "apikey",
|
||||||
|
authModes: ["apikey"],
|
||||||
mediaPriority: 1,
|
mediaPriority: 1,
|
||||||
transport: {
|
transport: {
|
||||||
baseUrl: "https://generativelanguage.googleapis.com/v1beta/models",
|
baseUrl: "https://generativelanguage.googleapis.com/v1beta/models",
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
category: "freeTier",
|
category: "freeTier",
|
||||||
|
authType: "apikey",
|
||||||
|
authModes: ["apikey"],
|
||||||
transport: {
|
transport: {
|
||||||
baseUrl: "https://integrate.api.nvidia.com/v1/chat/completions",
|
baseUrl: "https://integrate.api.nvidia.com/v1/chat/completions",
|
||||||
validateUrl: "https://integrate.api.nvidia.com/v1/models",
|
validateUrl: "https://integrate.api.nvidia.com/v1/models",
|
||||||
|
|||||||
@@ -15,6 +15,8 @@ export default {
|
|||||||
},
|
},
|
||||||
},
|
},
|
||||||
category: "freeTier",
|
category: "freeTier",
|
||||||
|
authType: "apikey",
|
||||||
|
authModes: ["apikey"],
|
||||||
transport: {
|
transport: {
|
||||||
baseUrl: "https://openrouter.ai/api/v1/chat/completions",
|
baseUrl: "https://openrouter.ai/api/v1/chat/completions",
|
||||||
thinkingFormat: "openai",
|
thinkingFormat: "openai",
|
||||||
|
|||||||
Reference in New Issue
Block a user