mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 13:38:31 +00:00
Feat : qoder provider
This commit is contained in:
@@ -116,9 +116,11 @@ async function fetchQoderCatalogRaw(credentials, signal, proxyOptions = null) {
|
||||
if (!entry || typeof entry !== "object") continue;
|
||||
const key = entry.key;
|
||||
if (!key) continue;
|
||||
if (entry.enable === false) continue;
|
||||
|
||||
// Always cache the config — chat needs model_config even for UI-hidden
|
||||
// models (enable:false). Upstream still accepts chat for these keys.
|
||||
rawConfigs.set(key, entry);
|
||||
if (entry.enable === false) continue;
|
||||
|
||||
const display = entry.display_name || key;
|
||||
const ctx = Number(entry.max_input_tokens) || 131_072;
|
||||
|
||||
Reference in New Issue
Block a user