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:
zhibisora
2026-06-03 22:56:31 +08:00
committed by GitHub
parent ae90b53454
commit e458e77e30
10 changed files with 171 additions and 0 deletions
+20
View File
@@ -654,6 +654,26 @@ export const hermesProviderPresets: HermesProviderPreset[] = [
model: { default: "gpt-5.5", provider: "aihubmix" },
},
},
{
name: "CherryIN",
websiteUrl: "https://open.cherryin.ai",
apiKeyUrl: "https://open.cherryin.ai/console/token",
settingsConfig: {
name: "cherryin",
base_url: "https://open.cherryin.net",
api_key: "",
api_mode: "anthropic_messages",
models: [
{ id: "anthropic/claude-opus-4.8", name: "Claude Opus 4.8" },
{ id: "anthropic/claude-sonnet-4.6", name: "Claude Sonnet 4.6" },
],
},
category: "aggregator",
icon: "cherryin",
suggestedDefaults: {
model: { default: "anthropic/claude-opus-4.8", provider: "cherryin" },
},
},
{
name: "SiliconFlow",
websiteUrl: "https://siliconflow.cn",