mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-07-31 02:51:21 +08:00
feat(presets): add Qiniu (七牛云) provider preset for all apps
Add the Qiniu Cloud AI gateway (api.qnaigc.com primary, api.modelink.ai overseas mirror) as a partner aggregator preset across Claude Code, Claude Desktop, Codex, Gemini, OpenCode, OpenClaw, and Hermes. Qiniu relays native Claude/GPT/Gemini, so Claude Code/Codex pass through native models (no domestic-model pinning); the OpenAI-compatible apps default to gpt-5.5. - Claude / Claude Desktop: Anthropic-compatible bare host, native passthrough - Codex: native Responses at /bypass/openai/v1, gpt-5.5 - Gemini: gemini-3.1-pro-preview via /bypass/vertex - OpenCode / OpenClaw / Hermes: gpt-5.5 over OpenAI-compatible /v1 - Localized display name via nameKey + partner promotion blurb in zh/en/ja/zh-TW - Register qiniu.png icon (URL import + iconUrls + metadata)
This commit is contained in:
@@ -15,6 +15,7 @@ import _hermes from "./hermes.png";
|
||||
import _huoshan from "./huoshan.png";
|
||||
import _pateway from "./pateway.jpg";
|
||||
import _pipellm from "./pipellm.png";
|
||||
import _qiniu from "./qiniu.png";
|
||||
import _relaxcode from "./relaxcode.png";
|
||||
import _runapi from "./runapi.jpg";
|
||||
import _shengsuanyun from "./shengsuanyun.svg?url";
|
||||
@@ -109,6 +110,7 @@ export const iconUrls: Record<string, string> = {
|
||||
huoshan: _huoshan,
|
||||
pateway: _pateway,
|
||||
pipellm: _pipellm,
|
||||
qiniu: _qiniu,
|
||||
relaxcode: _relaxcode,
|
||||
runapi: _runapi,
|
||||
shengsuanyun: _shengsuanyun,
|
||||
|
||||
@@ -511,6 +511,24 @@ export const iconMetadata: Record<string, IconMetadata> = {
|
||||
keywords: ["pipellm", "pipe"],
|
||||
defaultColor: "currentColor",
|
||||
},
|
||||
qiniu: {
|
||||
name: "qiniu",
|
||||
displayName: "七牛云",
|
||||
category: "ai-provider",
|
||||
keywords: [
|
||||
"qiniu",
|
||||
"qnaigc",
|
||||
"modelink",
|
||||
"aggregator",
|
||||
"relay",
|
||||
"claude",
|
||||
"codex",
|
||||
"gpt",
|
||||
"gemini",
|
||||
"gateway",
|
||||
],
|
||||
defaultColor: "#00AAE7",
|
||||
},
|
||||
runapi: {
|
||||
name: "runapi",
|
||||
displayName: "RunAPI",
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 69 KiB |
Reference in New Issue
Block a user