mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-30 02:14:43 +08:00
feat: add CherryIN preset provider for Claude Code and Codex (#3643)
* feat: add CherryIN preset provider for Claude Code and Codex CherryIN (open.cherryin.net) is an API aggregator gateway. Add it as a quick-config preset for both Claude Code (Anthropic format) and Codex (OpenAI-compatible), placed next to AiHubMix, with the official brand icon. Endpoints and model IDs verified against CherryIN's live pricing API. * feat: add CherryIN preset to Gemini, Claude Desktop, OpenCode, OpenClaw, Hermes Extend CherryIN coverage to all remaining apps, each placed next to AiHubMix. Anthropic-native (open.cherryin.net) for Claude Desktop/OpenClaw/Hermes, @ai-sdk/anthropic (/v1) for OpenCode, Gemini-compatible endpoint for Gemini CLI. Model IDs verified against CherryIN's live pricing API.
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 11 KiB |
@@ -7,6 +7,7 @@ import _atlascloud from "./atlascloud_icon.png";
|
||||
import _claudeapi from "./ClaudeApi.png";
|
||||
import _byteplus from "./byteplus.png";
|
||||
import _claudecn from "./claudecn.png";
|
||||
import _cherryin from "./cherryin.png";
|
||||
import _eflowcode from "./eflowcode.png";
|
||||
import _hermes from "./hermes.png";
|
||||
import _huoshan from "./huoshan.png";
|
||||
@@ -98,6 +99,7 @@ export const iconUrls: Record<string, string> = {
|
||||
byteplus: _byteplus,
|
||||
claudeapi: _claudeapi,
|
||||
claudecn: _claudecn,
|
||||
cherryin: _cherryin,
|
||||
eflowcode: _eflowcode,
|
||||
hermes: _hermes,
|
||||
huoshan: _huoshan,
|
||||
|
||||
@@ -147,6 +147,21 @@ export const iconMetadata: Record<string, IconMetadata> = {
|
||||
keywords: ["anthropic"],
|
||||
defaultColor: "#D4915D",
|
||||
},
|
||||
cherryin: {
|
||||
name: "cherryin",
|
||||
displayName: "CherryIN",
|
||||
category: "ai-provider",
|
||||
keywords: [
|
||||
"cherryin",
|
||||
"cherry",
|
||||
"gateway",
|
||||
"relay",
|
||||
"newapi",
|
||||
"claude",
|
||||
"codex",
|
||||
],
|
||||
defaultColor: "#FB6354",
|
||||
},
|
||||
claudeapi: {
|
||||
name: "claudeapi",
|
||||
displayName: "ClaudeAPI",
|
||||
|
||||
Reference in New Issue
Block a user