mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-01 12:22:09 +08:00
chore(presets): migrate AICodeMirror and AICoding sponsor domains
- AICodeMirror: full domain migration .com -> .ai (www./api. subdomains, gateway paths preserved); drop api.claudecode.net.cn backup endpoint from endpointCandidates in 5 presets - AICoding: full domain migration .sh -> .inc (bare domain + api. subdomain, invite code unchanged); README brand copy now plain "AICoding" without TLD suffix Covers 8 preset files and all 4 README languages. Icons, promotion keys, i18n copy, and legacy migration ids unchanged.
This commit is contained in:
@@ -444,13 +444,13 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "AICodeMirror",
|
||||
websiteUrl: "https://www.aicodemirror.com",
|
||||
apiKeyUrl: "https://www.aicodemirror.com/register?invitecode=9915W3",
|
||||
websiteUrl: "https://www.aicodemirror.ai",
|
||||
apiKeyUrl: "https://www.aicodemirror.ai/register?invitecode=9915W3",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/anthropic",
|
||||
name: "AICodeMirror",
|
||||
options: {
|
||||
baseURL: "https://api.aicodemirror.com/api/claudecode",
|
||||
baseURL: "https://api.aicodemirror.ai/api/claudecode",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
@@ -621,13 +621,13 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
},
|
||||
{
|
||||
name: "AICoding",
|
||||
websiteUrl: "https://aicoding.sh",
|
||||
apiKeyUrl: "https://aicoding.sh/i/CCSWITCH",
|
||||
websiteUrl: "https://aicoding.inc",
|
||||
apiKeyUrl: "https://aicoding.inc/i/CCSWITCH",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/anthropic",
|
||||
name: "AICoding",
|
||||
options: {
|
||||
baseURL: "https://api.aicoding.sh",
|
||||
baseURL: "https://api.aicoding.inc",
|
||||
apiKey: "",
|
||||
setCacheKey: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user