Repository navigation
feat(ai): add Atlas Cloud provider - #758
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 a disabled built-in Atlas Cloud provider (https://api.atlascloud.ai/v1) that reuses the existing OpenAI-compatible transport, mirroring how the OrcaRouter gateway entry is wired. - catalog template with a small default model list - model discovery enabled via GET /v1/models - reasoning maps to reasoning_effort "high" when thinking is on and is omitted when off, since only high/xhigh are accepted across upstreams - existing saved settings get the entry appended without touching saved providers or selections - README (en/zh-CN) and issue template provider lists updated Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: binyangzhu000-sudo <224954946+binyangzhu000-sudo@users.noreply.github.com>
|
@binyangzhu000-sudo is attempting to deploy a commit to the murongg's projects Team on Vercel. A member of the Team first needs to authorize it. |
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 (
https://api.atlascloud.ai/v1, an OpenAI-compatible gateway) as a disabled built-in provider, wired the same way as the existing OrcaRouter entry (#718): a catalog template on the existing OpenAI-compatible transport, model discovery enabled, and a migration that appends it to already-saved settings.Disclosure: I work at Atlas Cloud.
Files:
packages/providers/src/catalog.ts: newatlascloudtemplate (disabled, defaultdeepseek-ai/deepseek-v4-flash, 5 models)packages/providers/src/provider-capabilities.ts:atlascloud: { modelList: true }packages/providers/src/thinking-format.ts:reasoning_effort: "high"when thinking is on, omitted when offpackages/providers/src/settings.ts: migration loop now appends bothorcarouterandatlascloudto existing saved settingsREADME.md,README.zh-CN.md,.github/ISSUE_TEMPLATE/ai-provider.yml: provider listssettings,provider-capabilities,requests,thinking-format, and the appai-settingsprovider-id listDecisions:
high/xhigheffort is accepted by all of them, so nothing is sent when thinking is off instead of guessing per-model disable fields.Test plan
pnpm testinpackages/providers: 53 passedpnpm testinpackages/ai: 264 passedpnpm testinpackages/app: 1644 passed (141 files)pnpm typecheck:testinpackages/providers: cleanfetchAiProviderModelsagainst the real gateway returned 119 models;getChatAdapterForProvider(...).buildRequestfordeepseek-ai/deepseek-v4-flashwith thinking on producedPOST /v1/chat/completionswithreasoning_effort: "high"and got HTTP 200 with content andreasoning_contentpnpm buildand the desktop app UI (no manual check of the settings screen);typecheck:testforai/app🤖 Generated with Claude Code