feat: add Atlas Cloud LLM provider - #388
Merged
ASuresh0524 merged 1 commit intoJul 29, 2026
Merged
Conversation
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.
What does this PR do?
Adds Atlas Cloud as an OpenAI-compatible LLM provider for LEANN.
ATLASCLOUD_API_KEY/ATLAS_CLOUD_API_KEYand base URL aliases, defaulting tohttps://api.atlascloud.ai/v1.AtlasCloudChatandget_llmsupport foratlascloud,atlas-cloud, andatlasprovider aliases.ask/reactpaths and the base RAG example to resolve Atlas Cloud API key, base URL, and default model (deepseek-ai/deepseek-v4-pro).No README, docs, logo, credits, sponsor, or partner content is changed.
Related Issues
Fixes #
Validation
uvx ruff format packages/leann-core/src/leann/settings.py packages/leann-core/src/leann/chat.py packages/leann-core/src/leann/cli.py apps/base_rag_example.py tests/test_atlascloud_provider.pyuvx ruff check packages/leann-core/src/leann/settings.py packages/leann-core/src/leann/chat.py packages/leann-core/src/leann/cli.py apps/base_rag_example.py tests/test_atlascloud_provider.pypython3 -m pytest tests/test_atlascloud_provider.py tests/test_minimax_provider.py tests/test_novita_provider.py -q(60 passed, 7 skipped)python3 -m compileall packages/leann-core/src/leann apps/base_rag_example.py tests/test_atlascloud_provider.pygit diff --check && git diff --cached --check/Users/zby/opensource/api.md):https://api.atlascloud.ai/v1,deepseek-ai/deepseek-v4-pro,deepseek-ai/deepseek-v4-flash,qwen/qwen3.5-27b.Local environment notes:
uv run pytest/uv run ruff ...could not start in this checkout becausepackages/astchunk-leannis present as an empty directory, so uv fails metadata generation before running commands.pre-commitis not installed in the local PATH./modelscatalog requests returned HTTP 403 from this machine, so no paid chat-completions live test was run.Checklist
python3 -m pytest)uvx ruff formatanduvx ruff check)pre-commit run --all-filesunavailable locally)