From 798317ae7975650597356b4565668db8cb6117ac Mon Sep 17 00:00:00 2001 From: binyangzhu000-sudo <224954946+binyangzhu000-sudo@users.noreply.github.com> Date: Sun, 26 Jul 2026 15:46:56 +0800 Subject: [PATCH] feat(model): add Atlas Cloud provider --- src/module/Model/models.ts | 20 ++++++++++++++++++++ src/module/Model/providers.ts | 15 +++++++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/src/module/Model/models.ts b/src/module/Model/models.ts index d1d46ed..3b9cae7 100644 --- a/src/module/Model/models.ts +++ b/src/module/Model/models.ts @@ -268,6 +268,26 @@ export function getModelLogo(modelId: string) { } export const SystemModels: Record[]> = { + atlascloud: [ + { + id: "deepseek-ai/deepseek-v4-pro", + provider: "atlascloud", + name: "DeepSeek V4 Pro", + group: "DeepSeek", + }, + { + id: "deepseek-ai/deepseek-v4-flash", + provider: "atlascloud", + name: "DeepSeek V4 Flash", + group: "DeepSeek", + }, + { + id: "qwen/qwen3.5-flash", + provider: "atlascloud", + name: "Qwen3.5 Flash", + group: "Qwen", + }, + ], aihubmix: [ { id: "gpt-4o", diff --git a/src/module/Model/providers.ts b/src/module/Model/providers.ts index 27e5ded..9e05f6c 100644 --- a/src/module/Model/providers.ts +++ b/src/module/Model/providers.ts @@ -48,7 +48,7 @@ import { ModelProvider } from "./provider/provider"; import { Provider } from "./types"; const ProviderLogoMap = { - + atlascloud: OpenAiProviderLogo, openai: OpenAiProviderLogo, silicon: SiliconFlowProviderLogo, deepseek: DeepSeekProviderLogo, @@ -110,7 +110,7 @@ export function getProviderUrl(provider: Provider) { export const getProviderTitle = (providerId: string) => { const map: Record = { - + atlascloud: "Atlas Cloud", aihubmix: "AiHubMix", alayanew: "Alaya NeW", anthropic: "Anthropic", @@ -162,6 +162,17 @@ export const getProviderTitle = (providerId: string) => { }; export const SystemProviders = { + atlascloud: { + api: { + url: "https://api.atlascloud.ai/v1/", + }, + websites: { + official: "https://www.atlascloud.ai/", + apiKey: "https://www.atlascloud.ai/console/api-keys", + docs: "https://www.atlascloud.ai/docs", + models: "https://www.atlascloud.ai/models", + }, + }, openai: { api: { url: "https://api.openai.com",