mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-08-01 12:22:09 +08:00
feat(presets): add RunAPI provider presets
Add RunAPI as a new partner provider with support for: - Claude Code preset (Anthropic native protocol) - Codex preset (gpt-5.5 model) - Claude Desktop preset (direct mode with passthrough routes) - OpenCode preset (@ai-sdk/anthropic) - OpenClaw preset (anthropic-messages protocol) - Hermes preset (anthropic_messages mode) - Icon configuration (runapi.jpg) - i18n support (zh/en/ja) with ¥14 free credit promotion RunAPI is a high-performance AI model API gateway supporting 150+ mainstream models (OpenAI, Claude, Gemini, DeepSeek, Grok) with prices as low as 10% of official rates.
This commit is contained in:
@@ -8,6 +8,7 @@ import _hermes from "./hermes.png";
|
||||
import _lemondata from "./lemondata.png";
|
||||
import _pateway from "./pateway.jpg";
|
||||
import _pipellm from "./pipellm.png";
|
||||
import _runapi from "./runapi.jpg";
|
||||
import _shengsuanyun from "./shengsuanyun.svg?url";
|
||||
|
||||
export const icons: Record<string, string> = {
|
||||
@@ -90,6 +91,7 @@ export const iconUrls: Record<string, string> = {
|
||||
lemondata: _lemondata,
|
||||
pateway: _pateway,
|
||||
pipellm: _pipellm,
|
||||
runapi: _runapi,
|
||||
shengsuanyun: _shengsuanyun,
|
||||
};
|
||||
|
||||
|
||||
@@ -391,6 +391,12 @@ export const iconMetadata: Record<string, IconMetadata> = {
|
||||
keywords: ["pipellm", "pipe"],
|
||||
defaultColor: "currentColor",
|
||||
},
|
||||
runapi: {
|
||||
name: "runapi",
|
||||
displayName: "RunAPI",
|
||||
category: "ai-provider",
|
||||
keywords: ["runapi", "run", "aggregator", "gateway"],
|
||||
},
|
||||
eflowcode: {
|
||||
name: "eflowcode",
|
||||
displayName: "E-FlowCode",
|
||||
|
||||
Reference in New Issue
Block a user