Skip to content

Navigation Menu

Sign in
Sign up

Add Atlas Cloud OpenAI-compatible runtime - #1174

Open
binyangzhu000-sudo wants to merge 2 commits into
najmuzzaman-mohammad:main from
binyangzhu000-sudo:codex/add-atlascloud-provider-wuphf
Open

Add Atlas Cloud OpenAI-compatible runtime #1174
binyangzhu000-sudo wants to merge 2 commits into
najmuzzaman-mohammad:main from
binyangzhu000-sudo:codex/add-atlascloud-provider-wuphf

Conversation

@binyangzhu000-sudo

@binyangzhu000-sudo binyangzhu000-sudo commented Jul 20, 2026
edited by coderabbitai Bot
Loading

Copy link
Copy Markdown

Summary

  • add an atlascloud runtime backed by the existing OpenAI-compatible streaming provider path
  • wire Atlas Cloud defaults (https://api.atlascloud.ai/v1, qwen/qwen3.5-flash) plus ATLASCLOUD_API_KEY / ATLAS_CLOUD_API_KEY fallback auth
  • surface Atlas Cloud in runtime labels, model suggestions, Settings, onboarding, and provider-binding helpers
  • extend focused provider/status tests for the new runtime

Validation

  • Atlas Cloud live /v1/models catalog returned 118 models and confirmed qwen/qwen3.5-flash and deepseek-ai/deepseek-v4-pro
  • git diff --no-index --check passed against a clean codeload copy
  • Not run: Go tests / gofmt because this machine does not have go or gofmt
  • Not run: web typecheck because npm install is blocked by the existing @tanstack/ai / @tanstack/ai-openai peer dependency conflict; retrying with --legacy-peer-deps --package-lock=false made no filesystem progress before being interrupted

No README, sponsor, logo, credits, or partner-promotion changes are included.

Summary by CodeRabbit

  • New Features
    • Added Atlas Cloud as a supported runtime provider.
    • Added Atlas Cloud to agent runtime selectors and provider lists.
    • Added curated model options, including Qwen and DeepSeek models.
    • Added support for Atlas Cloud API key configuration through environment variables.
  • Enhancements
    • Provider status now reflects Atlas Cloud API key configuration without probing remote endpoints.
    • Added default model and endpoint settings for Atlas Cloud.

coderabbitai Bot commented Jul 20, 2026
edited
Loading

Copy link
Copy Markdown
Contributor

Review Change Stack

No actionable comments were generated in the recent review. 🎉

i️ Recent review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro Plus

Run ID: b58256ba-ef6a-480d-b0d9-832e53b2da32

📥 Commits

Reviewing files that changed from the base of the PR and between a283fd3 and 5283b94.

📒 Files selected for processing (2)
  • web/src/components/agents/AgentProfilePanel.tsx
  • web/src/components/agents/AgentWizard.tsx

📝 Walkthrough

Walkthrough

Atlas Cloud is registered as an OpenAI-compatible provider with API-key aliases, remote-provider status handling, curated models, runtime labels, and agent picker support across the backend and web application.

Changes

Atlas Cloud provider integration

Layer / File(s) Summary
Provider registration and API-key resolution
internal/provider/...
Adds the Atlas Cloud provider kind, streaming registration, default model and URL, API-key aliases, validation, and request coverage.
Remote provider status handling
internal/team/local_providers_status*
Represents Atlas Cloud as an API-key-configured remote provider without binary installation or endpoint probing, with updated platform and status tests.
Web runtime catalogs and labels
web/src/api/client.ts, web/src/lib/..., web/src/components/agents/...
Adds Atlas Cloud to runtime types, provider options, fallback kinds, model catalogs, labels, and agent runtime pickers.

Estimated code review effort: 3 (Moderate) | ~20 minutes

Sequence Diagram(s)

sequenceDiagram
 participant AgentRuntimePicker
 participant NewOpenAICompatStreamFn
 participant resolveOpenAICompatAPIKey
 participant AtlasCloudEndpoint
 AgentRuntimePicker->>NewOpenAICompatStreamFn: select atlascloud and model
 NewOpenAICompatStreamFn->>resolveOpenAICompatAPIKey: resolve configured API key
 resolveOpenAICompatAPIKey-->>NewOpenAICompatStreamFn: ATLASCLOUD_API_KEY or ATLAS_CLOUD_API_KEY
 NewOpenAICompatStreamFn->>AtlasCloudEndpoint: send authenticated OpenAI-compatible request
Loading

Suggested reviewers: frandias, najmuzzaman-mohammad

🚥 Pre-merge checks | ✅ 4 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 50.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (4 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title is concise and accurately summarizes the main change: adding an Atlas Cloud OpenAI-compatible runtime.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 2

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@web/src/components/agents/AgentProfilePanel.tsx`:
- Line 44: Synchronize the provider fallbacks with the registry by reusing
DEFAULT_LLM_KINDS where possible: update the fallback list in
AgentProfilePanel.tsx (Lines 530-537) and AgentWizard.tsx (Lines 198-205) to
include "atlascloud", preserving offline picker and suggestion behavior.
In `@web/src/components/apps/SettingsApp.tsx`:
- Around line 277-282: Remove the Atlas Cloud entry from the LOCAL_PROVIDERS
collection used by LocalProviderCard, and place it in the existing cloud/remote
provider collection and corresponding status-card rendering path. Preserve the
Atlas Cloud label and configuration guidance while ensuring it is not presented
as a local runtime or under no-cloud-key messaging.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

i️ Review info
⚙️ Run configuration

Configuration used: Path: .coderabbit.yaml

Review profile: ASSERTIVE

Plan: Pro

Run ID: a7f010a3-02d2-4ae2-b33c-86c404cda65f

📥 Commits

Reviewing files that changed from the base of the PR and between 2aa53c1 and a283fd3.

📒 Files selected for processing (15)
  • internal/provider/atlascloud.go
  • internal/provider/binding.go
  • internal/provider/binding_test.go
  • internal/provider/openai_compat.go
  • internal/provider/openai_compat_test.go
  • internal/team/local_providers_status.go
  • internal/team/local_providers_status_test.go
  • web/src/api/client.ts
  • web/src/components/agents/AgentProfilePanel.tsx
  • web/src/components/agents/AgentWizard.tsx
  • web/src/components/apps/SettingsApp.tsx
  • web/src/components/onboarding/runtimeConstants.ts
  • web/src/lib/modelCatalog.ts
  • web/src/lib/providerBinding.ts
  • web/src/lib/runtimeProviders.ts

Comment thread web/src/components/agents/AgentProfilePanel.tsx
Comment thread web/src/components/apps/SettingsApp.tsx Outdated
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@FranDias FranDias Awaiting requested review from FranDias
1 more reviewer
@coderabbitai coderabbitai[bot] coderabbitai[bot] left review comments
Reviewers whose approvals may not affect merge requirements

At least 1 approving review is required to merge this pull request.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

1 participant

AltStyle によって変換されたページ (->オリジナル) /