Repository navigation
feat: add Atlas Cloud as a named LLM provider - #1289
Open
binyangzhu000-sudo wants to merge 1 commit into
Open
binyangzhu000-sudo wants to merge 1 commit into
binyangzhu000-sudo wants to merge 1 commit into
Conversation
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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 throughcreateOpenAIwith a default base URL.Disclosure: I work at Atlas Cloud.
Files:
app/src/components/BlinkoSettings/AiSetting/constants.tsx: newPROVIDER_TEMPLATESentryapp/src/components/BlinkoSettings/AiSetting/AIIcon.tsx: icon mapping (reuses the generic OpenAI icon, no new asset)server/aiServer/providers/LLMProvider.ts:atlascloudcaseshared/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 oneDecisions: 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 testonserver/aiServer/providers(23 pass, 0 fail) andshared/lib(10 pass, 0 fail), including the new test (6 pass)tsc --noEmitinserver/andapp/: no errors, same as baselineLLMProvider.getLanguageModel({provider: 'atlascloud'})with the AI SDKgenerateText:deepseek-ai/deepseek-v4-flashreturned a completion (10 prompt / 178 completion tokens).GET /v1/modelsreturned 152 models including that id.🤖 Generated with Claude Code