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:
Jason committed 2026-10-11 22:51:28 +08:00
1 parent 2ff37a76f4
commit 89add5de39
1 file changed
+42
+42
View File
@@ -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",
},
];