Python
feat(providers): add Atlas Cloud
binyangzhu000-sudo5d6107d6c5b3
diff --git a/README.md b/README.mdindex 73916283..d53b5aa3 100644--- a/README.md+++ b/README.md@@ -87,7 +87,7 @@ Unattended runs never self-approve: their asks park in an inbox until a human anModel access is yours: pick a provider, paste your key, switch anytime. Supported out of the box:-**OpenAI · Anthropic · Google Gemini · BytePlus Ark · Volcengine Ark Agent Plan · Inkling (Thinking Machines) · GLM (Z.ai) · DeepSeek · Kimi (Moonshot) · Qwen · MiniMax · Mistral · Grok (xAI)** - plus aggregators **OrcaRouter** and **OpenRouter**, open-weight models via **Together** and **Fireworks**, and fully local models via **Ollama**.+**OpenAI · Anthropic · Google Gemini · BytePlus Ark · Volcengine Ark Agent Plan · Atlas Cloud · Inkling (Thinking Machines) · GLM (Z.ai) · DeepSeek · Kimi (Moonshot) · Qwen · MiniMax · Mistral · Grok (xAI)** - plus aggregators **OrcaRouter** and **OpenRouter**, open-weight models via **Together** and **Fireworks**, and fully local models via **Ollama**.A curated model list marks what we've verified for tool-calling work. Adding any model string works at your own risk.diff --git a/coworker/providers/matrix.py b/coworker/providers/matrix.pyindex 973bf382..b05b3e22 100644--- a/coworker/providers/matrix.py+++ b/coworker/providers/matrix.py@@ -230,6 +230,9 @@ MATRIX: dict[str, ModelEntry] = {"sambanova:MiniMax-M3.1-Flash": ModelEntry("MiniMax M3.1 Flash · SambaNova", _AGENTIC, 1_048_576),+ "atlascloud:openai/gpt-4.1-mini": ModelEntry(+ "GPT-4.1 mini · via Atlas Cloud", _AGENTIC, 1_047_576+ ),# -- resellers (their model namespaces, verbatim) -----------------------------"together:thinkingmachines/Inkling": ModelEntry("Inkling · via Together"),# Together windows below are the `context_length` values its /v1/models catalogdiff --git a/coworker/providers/registry.py b/coworker/providers/registry.pyindex 02918a56..34050316 100644--- a/coworker/providers/registry.py+++ b/coworker/providers/registry.py@@ -700,6 +700,13 @@ DESCRIPTORS: list[ProviderDescriptor] = [env_key="SAMBANOVA_API_KEY",endpoint_help="Prefilled with SambaNova's official OpenAI-compatible endpoint.",),+ _compat(+ "atlascloud",+ "Atlas Cloud",+ base_url="https://api.atlascloud.ai/v1",+ recommended_model="openai/gpt-4.1-mini",+ env_key="ATLASCLOUD_API_KEY",+ ),# Resellers: many labs' models behind one key, using THEIR model namespaces (the curated# ids + display labels live in providers/matrix.py). TODO: add Groq here (+ its matrix# rows) once the current provider surface is tested — deliberately deferred to bounddiff --git a/coworker/server/manager.py b/coworker/server/manager.pyindex f16b6250..ad5fa7e6 100644--- a/coworker/server/manager.py+++ b/coworker/server/manager.py@@ -4278,6 +4278,7 @@ class SessionManager:"nvidia/nemotron-3-super-120b-a12b","nvidia/nemotron-3-ultra-550b-a55b",],+ "atlascloud": ["openai/gpt-4.1-mini"],}def _suggested_models(self, name: str) -> list[str]:diff --git a/surfaces/gui/src/providers/ProviderSetup.test.tsx b/surfaces/gui/src/providers/ProviderSetup.test.tsxindex 89d0e8d2..033f4208 100644--- a/surfaces/gui/src/providers/ProviderSetup.test.tsx+++ b/surfaces/gui/src/providers/ProviderSetup.test.tsx@@ -120,3 +120,20 @@ describe("Ark provider presentation", () => {);});});++describe("Atlas Cloud provider presentation", () => {+ it("links to the Atlas Cloud API key page", () => {+ expect(KEY_HELP.atlascloud).toEqual({+ url: "https://www.atlascloud.ai/user/api-keys",+ label: "atlascloud.ai",+ });+ });++ it("falls back to a monogram when no logo is bundled", () => {+ const { container } = render(+ <ProviderMark name="atlascloud" title="Atlas Cloud" />,+ );+ expect(container.querySelector("img")).toBeNull();+ expect(screen.getByText("A")).toBeTruthy();+ });+});diff --git a/surfaces/gui/src/providers/ProviderSetup.tsx b/surfaces/gui/src/providers/ProviderSetup.tsxindex 8a2572d8..020ae4e1 100644--- a/surfaces/gui/src/providers/ProviderSetup.tsx+++ b/surfaces/gui/src/providers/ProviderSetup.tsx@@ -51,6 +51,7 @@ export const KEY_HELP: Record<string, { url: string; label: string; labelKey?: sminimax: { url: "https://platform.minimax.io", label: "platform.minimax.io" },xai: { url: "https://console.x.ai", label: "console.x.ai" },sambanova: { url: "https://cloud.sambanova.ai/apis", label: "cloud.sambanova.ai" },+ atlascloud: { url: "https://www.atlascloud.ai/user/api-keys", label: "atlascloud.ai" },};export type Verify = { state: "idle" | "testing" | "ok" | "error"; msg?: string };diff --git a/surfaces/gui/src/providers/logos.ts b/surfaces/gui/src/providers/logos.tsindex 83d20170..d1dbdc18 100644--- a/surfaces/gui/src/providers/logos.ts+++ b/surfaces/gui/src/providers/logos.ts@@ -72,6 +72,7 @@ export const PROVIDER_ORDER = ["ark","ark-agent-plan-cn","meta",+ "atlascloud","ollama","llamacpp","vllm",diff --git a/tests/test_providers.py b/tests/test_providers.pyindex 344eeb78..08024c3f 100644--- a/tests/test_providers.py+++ b/tests/test_providers.py@@ -290,6 +290,7 @@ COMPAT_VENDORS = {"xai": "https://api.x.ai/v1","mistral": "https://api.mistral.ai/v1","nvidia": "https://integrate.api.nvidia.com/v1",+ "atlascloud": "https://api.atlascloud.ai/v1",}@@ -470,6 +471,7 @@ def test_compat_models_route_and_get_tool_capabilities():"xai:grok-4.3","mistral:mistral-large-latest","orcarouter:anthropic/claude-sonnet-5",+ "atlascloud:openai/gpt-4.1-mini",):prefix = model.split(":", 1)[0]assert router._provider_name(model) == prefix