chore(presets): update SSSAiCode domain and endpoint nodes

Switch website/apiKey URLs to sssaicodeapi.com and replace base URL
nodes with node-hk.sssaicodeapi.com (default), node-hk.sssaiapi.com,
and node-cf.sssaicodeapi.com across all 7 app presets.
This commit is contained in:
Jason
2026-06-06 19:28:40 +08:00
parent 2985ad2c14
commit e96eab5278
7 changed files with 34 additions and 34 deletions
+6 -6
View File
@@ -801,17 +801,17 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
},
{
name: "SSSAiCode",
websiteUrl: "https://www.sssaicode.com",
apiKeyUrl: "https://www.sssaicode.com/register?ref=DCP0SM",
websiteUrl: "https://sssaicodeapi.com",
apiKeyUrl: "https://sssaicodeapi.com/register?ref=DCP0SM",
category: "third_party",
baseUrl: "https://node-hk.sssaicode.com/api",
baseUrl: "https://node-hk.sssaicodeapi.com/api",
mode: "direct",
apiFormat: "anthropic",
modelRoutes: passthroughRoutes(),
endpointCandidates: [
"https://node-hk.sssaicode.com/api",
"https://claude2.sssaicode.com/api",
"https://anti.sssaicode.com/api",
"https://node-hk.sssaicodeapi.com/api",
"https://node-hk.sssaiapi.com/api",
"https://node-cf.sssaicodeapi.com/api",
],
isPartner: true,
partnerPromotionKey: "sssaicode",
+6 -6
View File
@@ -870,18 +870,18 @@ export const providerPresets: ProviderPreset[] = [
},
{
name: "SSSAiCode",
websiteUrl: "https://www.sssaicode.com",
apiKeyUrl: "https://www.sssaicode.com/register?ref=DCP0SM",
websiteUrl: "https://sssaicodeapi.com",
apiKeyUrl: "https://sssaicodeapi.com/register?ref=DCP0SM",
settingsConfig: {
env: {
ANTHROPIC_BASE_URL: "https://node-hk.sssaicode.com/api",
ANTHROPIC_BASE_URL: "https://node-hk.sssaicodeapi.com/api",
ANTHROPIC_AUTH_TOKEN: "",
},
},
endpointCandidates: [
"https://node-hk.sssaicode.com/api",
"https://claude2.sssaicode.com/api",
"https://anti.sssaicode.com/api",
"https://node-hk.sssaicodeapi.com/api",
"https://node-hk.sssaiapi.com/api",
"https://node-cf.sssaicodeapi.com/api",
],
category: "third_party",
isPartner: true, // 合作伙伴
+6 -6
View File
@@ -1078,18 +1078,18 @@ requires_openai_auth = true`,
},
{
name: "SSSAiCode",
websiteUrl: "https://www.sssaicode.com",
apiKeyUrl: "https://www.sssaicode.com/register?ref=DCP0SM",
websiteUrl: "https://sssaicodeapi.com",
apiKeyUrl: "https://sssaicodeapi.com/register?ref=DCP0SM",
auth: generateThirdPartyAuth(""),
config: generateThirdPartyConfig(
"sssaicode",
"https://node-hk.sssaicode.com/api/v1",
"https://node-hk.sssaicodeapi.com/api/v1",
"gpt-5.5",
),
endpointCandidates: [
"https://node-hk.sssaicode.com/api/v1",
"https://claude2.sssaicode.com/api/v1",
"https://anti.sssaicode.com/api/v1",
"https://node-hk.sssaicodeapi.com/api/v1",
"https://node-hk.sssaiapi.com/api/v1",
"https://node-cf.sssaicodeapi.com/api/v1",
],
category: "third_party",
isPartner: true, // 合作伙伴
+7 -7
View File
@@ -241,24 +241,24 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [
},
{
name: "SSSAiCode",
websiteUrl: "https://www.sssaicode.com",
apiKeyUrl: "https://www.sssaicode.com/register?ref=DCP0SM",
websiteUrl: "https://sssaicodeapi.com",
apiKeyUrl: "https://sssaicodeapi.com/register?ref=DCP0SM",
settingsConfig: {
env: {
GOOGLE_GEMINI_BASE_URL: "https://node-hk.sssaicode.com/api",
GOOGLE_GEMINI_BASE_URL: "https://node-hk.sssaicodeapi.com/api",
GEMINI_MODEL: "gemini-3.5-flash",
},
},
baseURL: "https://node-hk.sssaicode.com/api",
baseURL: "https://node-hk.sssaicodeapi.com/api",
model: "gemini-3.5-flash",
description: "SSSAiCode",
category: "third_party",
isPartner: true,
partnerPromotionKey: "sssaicode",
endpointCandidates: [
"https://node-hk.sssaicode.com/api",
"https://claude2.sssaicode.com/api",
"https://anti.sssaicode.com/api",
"https://node-hk.sssaicodeapi.com/api",
"https://node-hk.sssaiapi.com/api",
"https://node-cf.sssaicodeapi.com/api",
],
icon: "sssaicode",
iconColor: "#000000",
+3 -3
View File
@@ -1055,11 +1055,11 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
},
{
name: "SSSAiCode",
websiteUrl: "https://www.sssaicode.com",
apiKeyUrl: "https://www.sssaicode.com/register?ref=DCP0SM",
websiteUrl: "https://sssaicodeapi.com",
apiKeyUrl: "https://sssaicodeapi.com/register?ref=DCP0SM",
settingsConfig: {
name: "sssaicode",
base_url: "https://node-hk.sssaicode.com/api",
base_url: "https://node-hk.sssaicodeapi.com/api",
api_key: "",
api_mode: "anthropic_messages",
models: [
+3 -3
View File
@@ -1841,10 +1841,10 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
},
{
name: "SSSAiCode",
websiteUrl: "https://www.sssaicode.com",
apiKeyUrl: "https://www.sssaicode.com/register?ref=DCP0SM",
websiteUrl: "https://sssaicodeapi.com",
apiKeyUrl: "https://sssaicodeapi.com/register?ref=DCP0SM",
settingsConfig: {
baseUrl: "https://node-hk.sssaicode.com/api",
baseUrl: "https://node-hk.sssaicodeapi.com/api",
apiKey: "",
api: "anthropic-messages",
models: [
+3 -3
View File
@@ -1540,13 +1540,13 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
},
{
name: "SSSAiCode",
websiteUrl: "https://www.sssaicode.com",
apiKeyUrl: "https://www.sssaicode.com/register?ref=DCP0SM",
websiteUrl: "https://sssaicodeapi.com",
apiKeyUrl: "https://sssaicodeapi.com/register?ref=DCP0SM",
settingsConfig: {
npm: "@ai-sdk/anthropic",
name: "SSSAiCode",
options: {
baseURL: "https://node-hk.sssaicode.com/api/v1",
baseURL: "https://node-hk.sssaicodeapi.com/api/v1",
apiKey: "",
setCacheKey: true,
},