Skip to content

feat: add Atlas Cloud as a named LLM provider - #1289

Open
binyangzhu000-sudo wants to merge 1 commit into
blinkospace:mainfrom
binyangzhu000-sudo:add-atlascloud-provider
Open

binyangzhu000-sudo wants to merge 1 commit into
blinkospace:mainfrom
binyangzhu000-sudo:add-atlascloud-provider

Conversation

@binyangzhu000-sudo

Copy link
Copy Markdown

Summary

Adds Atlas Cloud as a named provider in the AI settings, mirroring how MiniMax was added in #1133. Atlas Cloud is an OpenAI-compatible gateway (https://api.atlascloud.ai/v1), so it is wired through createOpenAI with a default base URL.

Disclosure: I work at Atlas Cloud.

Files:

  • app/src/components/BlinkoSettings/AiSetting/constants.tsx: new PROVIDER_TEMPLATES entry
  • app/src/components/BlinkoSettings/AiSetting/AIIcon.tsx: icon mapping (reuses the generic OpenAI icon, no new asset)
  • server/aiServer/providers/LLMProvider.ts: atlascloud case
  • shared/lib/modelTemplates.ts: a few default model templates (deepseek-ai/deepseek-v4-flash, deepseek-ai/deepseek-v4-pro, zai-org/glm-5.2)
  • server/aiServer/providers/__tests__/atlascloud-provider.test.ts: unit test modelled on the MiniMax one

Decisions: no static model list in routerTrpc/ai.ts; the existing default branch fetches {baseURL}/models, which Atlas Cloud serves, so the list stays current.

Test plan

  • bun test on server/aiServer/providers (23 pass, 0 fail) and shared/lib (10 pass, 0 fail), including the new test (6 pass)
  • tsc --noEmit in server/ and app/: no errors, same as baseline
  • Live check through LLMProvider.getLanguageModel({provider: 'atlascloud'}) with the AI SDK generateText: deepseek-ai/deepseek-v4-flash returned a completion (10 prompt / 178 completion tokens). GET /v1/models returned 152 models including that id.
  • Not run: full app build, UI check of the settings page, the tRPC model-fetch endpoint against a database.

🤖 Generated with Claude Code

Add Atlas Cloud (OpenAI-compatible gateway, https://api.atlascloud.ai/v1)
to the provider templates, mirroring how MiniMax was added in blinkospace#1133:
provider template, provider icon fallback, LLMProvider case, default
model templates and a unit test. Model listing uses the existing
OpenAI-compatible /models default branch, so no static list is needed.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Signed-off-by: binyangzhu000-sudo <224954946+binyangzhu000-sudo@users.noreply.github.com>

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant