Repository navigation
feat(providers): add Atlas Cloud as an OpenAI-compatible gateway provider - #730
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
β¦ider Register `atlascloud` in the provider registry, mirroring the existing Novita / SiliconFlow gateway entries: OpenAI-compatible backend, `ATLASCLOUD_API_KEY` env var, default base `https://api.atlascloud.ai/v1`, and base-URL detection by the `atlascloud` keyword. Add a provider test modelled on the Novita one. Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com> Signed-off-by: binyangzhu000-sudo <224954946+binyangzhu000-sudo@users.noreply.github.com>
binyangzhu000-sudo
requested review from
Wang-Daoji and
ZongYue99
as code owners
October 23, 2026 10:55
Collaborator
π€ Open Code ReviewTarget: PR #730 π OpenCodeReview found 1 issue(s) in this PR. 1.
|
Collaborator
β Automated Test Results: PASSEDAll tests passed (6/6 executed). common/smoke: 6/6. Duration: 2s Branch: |
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 (OpenAI-compatible gateway,
https://api.atlascloud.ai/v1) as a named provider in the provider registry, mirroring the existing Novita / SiliconFlow gateway entries. Users can configureproviders.atlascloud.apiKey(orATLASCLOUD_API_KEY), and a base URL containingatlascloudis auto-detected.Disclosure: I work at Atlas Cloud.
Files:
App/memmy-agent/src/providers/registry.ts: newatlascloudProviderSpec(gateway,openai_compat,ATLASCLOUD_API_KEY, default basehttps://api.atlascloud.ai/v1).App/memmy-agent/tests/providers/atlascloud-provider.test.ts: registry/config/kwargs tests, modelled onnovita-provider.test.ts.Provider-specific decisions:
stripModelPrefix: Atlas model ids are namespaced (e.g.deepseek-ai/deepseek-v4-flash) and must be sent verbatim (covered by a test).Test plan
npx vitest run tests/providersinApp/memmy-agent: 48 files / 762 tests passed (includes the new test file)prettier --checkandeslinton the touched files: cleanConfig.fromObject->makeProvider->OpenAICompatProvider.chat) against the real gateway withdeepseek-ai/deepseek-v4-flash,maxTokens: 64: HTTP 200, response parsed (the 64 tokens were consumed by reasoning, sofinishReason: "length"withreasoningContentpopulated; 11 prompt tokens)GET https://api.atlascloud.ai/v1/modelsreturned 200 with 120 models (plain fetch; the repo has no list-models code path for gateways)tsc --noEmitreports one error that is unrelated to this change (@memmy/knowledgenot built locally).π€ Generated with Claude Code