mirror of
https://github.com/kiddin9/op-packages.git
synced 2026-11-10 07:27:51 +08:00
🛸 Sync 2026-07-10 20:47:34
This commit is contained in:
1 parent
bc43e5009d
commit
bdfb23c9ce
25 files changed
+3111
-2838
No files matched your search
@@ -1277,7 +1277,7 @@ async function configureYiwanAIFanAPI() {
|
||||
if (!apiKey) { console.log(`${C.yellow}已取消${C.reset}`); return false; }
|
||||
|
||||
authSetApikey(providerName, apiKey, `${providerName}:fan`);
|
||||
registerCustomProvider(providerName, baseUrl, apiKey, modelName, modelName);
|
||||
registerCustomProvider(providerName, baseUrl, apiKey, modelName, modelName, 1000000, 32000);
|
||||
const config = readConfig();
|
||||
const provider = config.models?.providers?.[providerName];
|
||||
if (provider?.models?.[0]) {
|
||||
|
||||
Reference in new issue
Block a user