Repository navigation
feat: add Atlas Cloud provider for the standalone brain - #173
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
Atlas Cloud (https://api.atlascloud.ai/v1) is an OpenAI-compatible multi-model gateway. Same shape as the Requesty addition: ATLASCLOUD_API_KEY (optional ATLASCLOUD_BASE_URL), opt-in in auto-detect (a set key moves it to the front, but it is not in PROVIDER_PRIORITY), option 12 in `bughunter setup`, `--provider atlascloud`, a default model (deepseek-ai/deepseek-v4-flash) and a short curated list, plus README, CHANGELOG and config.example.json entries and tests. 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 (
https://api.atlascloud.ai/v1) as a provider for the standalonebughunter/brain.py, following the Requesty addition (#159). It is an OpenAI-compatible multi-model gateway.Disclosure: I work at Atlas Cloud.
What changed
bughunter/brain.py:atlascloudinPROVIDER_KEY_ENV(ATLASCLOUD_API_KEY),DEFAULT_MODELS(deepseek-ai/deepseek-v4-flash),_init_provider(bearer session, base URL fromATLASCLOUD_BASE_URLor the default), the OpenAI-compatible chat branch, and a curatedlist_models(). Like Requesty it is not inPROVIDER_PRIORITY: it is only picked when selected explicitly or whenATLASCLOUD_API_KEYis set, so it never preempts a provider you already configured.bughunter/engine.py: option 12 inbughunter setup, the key map in setup andproviders, the--providerchoices and help, the config-to-env key loop.README.md,CHANGELOG.md,config.example.json: provider table row, opt-in note, changelog entry, example config line.tests/test_brain_auto_detect.py: 5 tests mirroring the Requesty ones (key moves it to the front, init and api base, base-URL override, no key means unavailable, opt-in only).Test plan
pytest tests(excludingtests/benchmark): 1127 passed;mainwithout this change gives 1122, so the 5 new tests account for the difference and nothing else changed.LLMClient(provider="atlascloud")with onlyATLASCLOUD_API_KEYset: it resolvedhttps://api.atlascloud.ai/v1, andchat()returned the expected text for the default model and formoonshotai/kimi-k3,zai-org/glm-5.2andqwen/qwen3.5-plus./v1/models.🤖 Generated with Claude Code