Repository navigation
feat: add Atlas Cloud provider preset - #177
Merged
239573049 merged 1 commit intoOct 14, 2026
Merged
Conversation
Add Atlas Cloud as a built-in aggregator preset, shaped like the Requesty and OpenRouter entries. - presets.ts: new `atlascloud` preset after `api-route`, with three endpoints: OpenAI Chat (https://api.atlascloud.ai/v1, model list public), OpenAI Responses (same base) and Anthropic (https://api.atlascloud.ai, the client adds /v1/messages). Not marked as recommended. - Brand icon: lobehub ships an atlascloud glyph, so register the brand (BRANDS, rule, ProviderIcon import) instead of falling back to initials. - Tests: pinned the Anthropic URL row, added the preset to the public model-list set, the brand table, and a resolveBrand sample. - baseurl.ts: Atlas Cloud added to the `/v1` row of the doc table. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: binyangzhu000-sudo <224954946+binyangzhu000-sudo@users.noreply.github.com>
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 built-in aggregator preset, shaped like the Requesty entry (not marked recommended).
Disclosure: I work at Atlas Cloud.
src/shared/domain/presets.ts: newatlascloudpreset afterapi-route, with three endpoints: OpenAI Chat (https://api.atlascloud.ai/v1, model list public), OpenAI Responses (same base), and Anthropic (https://api.atlascloud.ai, the client appends/v1/messages). Suggested models:deepseek-ai/deepseek-v4-flash,moonshotai/kimi-k3,zai-org/glm-5.2.atlascloudglyph, so the brand is registered (BRANDS, rule inbrands.ts, import inProviderIcon.tsx) instead of falling back to initials.presets.test.ts, the preset added to the public model-list set, the brand table inpreset-brands.test.ts, and aresolveBrandsample.baseurl.tsonly gets the doc-table row.verificationisdocumented, notprobed: the file'sprobedrule asks for a 401 on the real path and a 404 on a fake path under the same prefix, but Atlas Cloud answers 401 for any path under/v1(the auth layer runs before routing). I checked the paths with real requests instead (below). Happy to change the level if you prefer.The note on the card says that a successful model listing does not prove the key is valid:
GET /v1/modelsis public and answers 200 even with a bad key.Test plan
vitest runonsrc/shared/domain,src/renderer/src/components/brandandsrc/renderer/src/settings/pages/model: all pass (52 files). On the whole suite the only failures aresrc/main/environment/__tests__/sftp.test.ts(also fails on a cleanmain) and 5 tests inbroker-terminal/provider-filethat fail only under full-suite load and pass when run alone.findPreset/endpointFor/previewUrl/modelListRequest/parseModelList/modelListAvailability) against the real API: the model list returns 200 with 119 models and no key needed;POST /v1/chat/completions,/v1/responsesand/v1/messages(withx-api-key) each return a reply fordeepseek-ai/deepseek-v4-flash.tscfor the web/node projects: both fail on an unrelated existing test file (TS6307) on a cleanmainas well.🤖 Generated with Claude Code