mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:27:03 +08:00
feat(presets): add Grok Build presets for SoruxGPT, IKunCode and RunToken
All three relays list grok-4.5 on their public pricing pages, so they now get Grok Build presets on their /v1 hosts, with the same endpoint candidates as their Codex presets.
This commit is contained in:
1 parent
2ff37a76f4
commit
89add5de39
1 file changed
+42
@@ -637,4 +637,46 @@ export const grokBuildProviderPresets: GrokBuildProviderPreset[] = [
|
||||
category: "aggregator",
|
||||
icon: "therouter",
|
||||
},
|
||||
{
|
||||
name: "SoruxGPT",
|
||||
websiteUrl: "https://ai.soruxgpt.com",
|
||||
apiKeyUrl: "https://ai.soruxgpt.com/console/token",
|
||||
auth: grokAuth(),
|
||||
config: grokPresetConfig("SoruxGPT", "https://ai.soruxgpt.com/v1"),
|
||||
endpointCandidates: [
|
||||
"https://ai.soruxgpt.com/v1",
|
||||
"https://api-cf.soruxgpt.com/v1",
|
||||
"https://api-host.soruxgpt.com/v1",
|
||||
"https://api-node6.soruxgpt.com/v1",
|
||||
"https://api-node3.soruxgpt.com/v1",
|
||||
],
|
||||
category: "aggregator",
|
||||
icon: "soruxgpt",
|
||||
},
|
||||
{
|
||||
name: "IKunCode",
|
||||
websiteUrl: "https://api.ikuncode.ai",
|
||||
apiKeyUrl: "https://api.ikuncode.ai/console/token",
|
||||
auth: grokAuth(),
|
||||
config: grokPresetConfig("IKunCode", "https://api.ikuncode.ai/v1"),
|
||||
endpointCandidates: [
|
||||
"https://api.ikuncode.ai/v1",
|
||||
"https://api.ikuncode.cc/v1",
|
||||
],
|
||||
category: "aggregator",
|
||||
icon: "ikuncode",
|
||||
},
|
||||
{
|
||||
name: "RunToken",
|
||||
websiteUrl: "https://www.runtoken.ai",
|
||||
apiKeyUrl: "https://www.runtoken.ai/console/token",
|
||||
auth: grokAuth(),
|
||||
config: grokPresetConfig("RunToken", "https://www.runtoken.ai/v1"),
|
||||
endpointCandidates: [
|
||||
"https://www.runtoken.ai/v1",
|
||||
"https://fast.runtoken.ai/v1",
|
||||
],
|
||||
category: "aggregator",
|
||||
icon: "runtoken",
|
||||
},
|
||||
];
|
||||
Reference in new issue
Block a user