Skip to content

feat(providers): add Atlas Cloud provider preset - #11

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

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

Conversation

@binyangzhu000-sudo

Copy link
Copy Markdown

变更说明 / Summary

Add Atlas Cloud (https://www.atlascloud.ai), an OpenAI-compatible gateway, as a named API-key provider preset, mirroring how Novita AI / AI/ML API are wired as aggregator gateways. Base URL https://api.atlascloud.ai/v1, API keys from https://console.atlascloud.ai/api-keys.

Disclosure: I work at Atlas Cloud.

Files:

  • src/server/config/providerPresets.json: new atlascloud preset (openai_chat), DeepSeek V4 Pro/Flash defaults plus Kimi K3 and GLM 5.2 as suggested options; no context-window claims (kept out of the 1M-capable list on purpose); everything else comes from model discovery.
  • desktop/src/components/providers/providerCatalog.ts, desktop/src/components/chat/localProvider.ts, src/utils/localModelPerformance.ts: register the id in the same lists as novita.
  • desktop/src/components/providers/providerIdentity.ts: monogram identity ("AC"); no brand icon asset is added.
  • src/server/__tests__/provider-presets.test.ts, desktop/src/components/providers/providerCatalog.test.ts: include the id and bump gateway count 41 -> 42.

验证 / Test plan

  • bun test src/server/__tests__/provider-presets.test.ts : 15 pass, 0 fail
  • bun test on providers / provider-model-discovery / provider-model-sync / routing / src/utils: 277 pass, 1 skip, 0 fail (identical to clean baseline)
  • cd desktop && bun run lint (tsc --noEmit): clean
  • cd desktop && bunx vitest run src/components/providers src/components/chat src/__tests__/generalSettings.test.tsx: 51 files, 440 tests pass
  • Live, through the repo's own code (discoverProviderModels + ProviderService.testProviderConfig with the new preset): model discovery returned 120 models from /v1/models and all preset default models are present; deep connectivity test and proxy pipeline test with deepseek-ai/deepseek-v4-flash both succeeded (HTTP 200)
  • Not run: full npm test / Playwright E2E, bun run build, visual check of the desktop provider card

🤖 Generated with Claude Code

Add Atlas Cloud (https://www.atlascloud.ai), an OpenAI-compatible
gateway, as a named API-key preset next to the other aggregator
gateways such as Novita AI and AI/ML API.

- providerPresets.json: new `atlascloud` preset (openai_chat,
  https://api.atlascloud.ai/v1) with DeepSeek V4 defaults and a few
  suggested models; the rest is available through model discovery.
- Register the id in the aggregator/gateway catalog, local-provider and
  local-model-performance lists, and add a monogram identity (no brand
  icon asset is bundled).
- Update the provider preset and catalog tests for the new count.

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