Skip to content

feat(providers): add NEAR AI Cloud and Atlas Cloud providers - #922

Merged
DonPrus merged 5 commits into
nullclaw:mainfrom
PierreLeGuen:nearai-provider
May 28, 2026
Merged

DonPrus merged 5 commits into
nullclaw:mainfrom
PierreLeGuen:nearai-provider

Conversation

@PierreLeGuen

@PierreLeGuen PierreLeGuen commented May 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Add NEAR AI Cloud (nearai) as an OpenAI-compatible provider with NEARAI_API_KEY and https://cloud-api.near.ai/v1.
  • Add Atlas Cloud (atlas-cloud, aliases atlas/atlascloud) as an OpenAI-compatible provider with ATLASCLOUD_API_KEY and https://api.atlascloud.ai/v1.
  • Wire both providers through factory registration, onboarding defaults, API-key lookup, model references, integration metadata, examples, and English/Chinese docs.
  • Add native model catalog discovery for NEAR AI Cloud and Atlas Cloud via OpenAI-compatible /models responses, filtering non-chat utility/image/audio/embedding/reranker entries.
  • Keep namespaced model selections routed through the selected provider, so Atlas Cloud models like qwen/qwen3-32b do not get misclassified as the standalone qwen provider.

Validation

  • zig build test --summary all
  • zig build -Doptimize=ReleaseSmall
  • zig fmt src/agent/commands.zig src/agent/root.zig src/providers/compatible.zig src/providers/factory.zig src/onboard.zig src/providers/api_key.zig src/provider_names.zig src/model_refs.zig src/integrations.zig
  • git diff --check

@PierreLeGuen
PierreLeGuen marked this pull request as ready for review May 21, 2026 13:27
@chatgpt-codex-connector

Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@addadi addadi 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.

LGTM. Code follows provider patterns, tests comprehensive, CI green. Minor nit: text check ordering in nearAiModelSupportsChat could be clearer but logic is correct.

@DonPrus DonPrus changed the title feat(providers): add NEAR AI Cloud provider feat(providers): add NEAR AI Cloud and Atlas Cloud providers May 28, 2026
@DonPrus
DonPrus merged commit b15eb32 into nullclaw:main May 28, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants