mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-25 13:45:03 +08:00
chore(code0): update partner invite link to agent register URL
Replace the ?source=ccswitch referral with the new agent register invite link (https://code0.ai/agent/register/B2XHxGjGmRvqgznY) on code0's apiKeyUrl across all seven presets and the sponsor rows in all four READMEs. API endpoints stay bare per the referral red-line.
This commit is contained in:
@@ -790,7 +790,7 @@ export const claudeDesktopProviderPresets: ClaudeDesktopProviderPreset[] = [
|
||||
{
|
||||
name: "Code0",
|
||||
websiteUrl: "https://code0.ai",
|
||||
apiKeyUrl: "https://code0.ai?source=ccswitch",
|
||||
apiKeyUrl: "https://code0.ai/agent/register/B2XHxGjGmRvqgznY",
|
||||
category: "aggregator",
|
||||
baseUrl: "https://code0.ai",
|
||||
mode: "direct",
|
||||
|
||||
@@ -865,7 +865,7 @@ export const providerPresets: ProviderPreset[] = [
|
||||
{
|
||||
name: "Code0",
|
||||
websiteUrl: "https://code0.ai",
|
||||
apiKeyUrl: "https://code0.ai?source=ccswitch",
|
||||
apiKeyUrl: "https://code0.ai/agent/register/B2XHxGjGmRvqgznY",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
ANTHROPIC_BASE_URL: "https://code0.ai",
|
||||
|
||||
@@ -367,7 +367,7 @@ export const codexProviderPresets: CodexProviderPreset[] = [
|
||||
{
|
||||
name: "Code0",
|
||||
websiteUrl: "https://code0.ai",
|
||||
apiKeyUrl: "https://code0.ai?source=ccswitch",
|
||||
apiKeyUrl: "https://code0.ai/agent/register/B2XHxGjGmRvqgznY",
|
||||
category: "aggregator",
|
||||
auth: generateThirdPartyAuth(""),
|
||||
config: generateThirdPartyConfig("code0", "https://code0.ai/v1", "gpt-5.5"),
|
||||
|
||||
@@ -133,7 +133,7 @@ export const geminiProviderPresets: GeminiProviderPreset[] = [
|
||||
{
|
||||
name: "Code0",
|
||||
websiteUrl: "https://code0.ai",
|
||||
apiKeyUrl: "https://code0.ai?source=ccswitch",
|
||||
apiKeyUrl: "https://code0.ai/agent/register/B2XHxGjGmRvqgznY",
|
||||
settingsConfig: {
|
||||
env: {
|
||||
GOOGLE_GEMINI_BASE_URL: "https://code0.ai",
|
||||
|
||||
@@ -248,7 +248,7 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
|
||||
{
|
||||
name: "Code0",
|
||||
websiteUrl: "https://code0.ai",
|
||||
apiKeyUrl: "https://code0.ai?source=ccswitch",
|
||||
apiKeyUrl: "https://code0.ai/agent/register/B2XHxGjGmRvqgznY",
|
||||
settingsConfig: {
|
||||
name: "code0",
|
||||
base_url: "https://code0.ai/v1",
|
||||
|
||||
@@ -511,7 +511,7 @@ export const openclawProviderPresets: OpenClawProviderPreset[] = [
|
||||
{
|
||||
name: "Code0",
|
||||
websiteUrl: "https://code0.ai",
|
||||
apiKeyUrl: "https://code0.ai?source=ccswitch",
|
||||
apiKeyUrl: "https://code0.ai/agent/register/B2XHxGjGmRvqgznY",
|
||||
settingsConfig: {
|
||||
baseUrl: "https://code0.ai/v1",
|
||||
apiKey: "",
|
||||
|
||||
@@ -453,7 +453,7 @@ export const opencodeProviderPresets: OpenCodeProviderPreset[] = [
|
||||
{
|
||||
name: "Code0",
|
||||
websiteUrl: "https://code0.ai",
|
||||
apiKeyUrl: "https://code0.ai?source=ccswitch",
|
||||
apiKeyUrl: "https://code0.ai/agent/register/B2XHxGjGmRvqgznY",
|
||||
settingsConfig: {
|
||||
npm: "@ai-sdk/openai-compatible",
|
||||
name: "Code0",
|
||||
|
||||
Reference in New Issue
Block a user