Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions .github/workflows/e2e.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1144,7 +1144,7 @@ jobs:
NEMOCLAW_NON_INTERACTIVE: "1"
NEMOCLAW_ACCEPT_THIRD_PARTY_SOFTWARE: "1"
NEMOCLAW_SANDBOX_NAME: "e2e-kimi-compat"
NEMOCLAW_E2E_INFERENCE_MODE: "public-nvidia"
NEMOCLAW_E2E_INFERENCE_MODE: "mock"
OPENSHELL_GATEWAY: "nemoclaw"
steps:
- uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3
Expand All @@ -1157,8 +1157,6 @@ jobs:
- name: Install OpenShell CLI
run: bash scripts/install-openshell.sh
- name: Run Kimi compatibility live Vitest test
env:
NVIDIA_API_KEY: ${{ secrets.NVIDIA_API_KEY }}
run: |
set -euo pipefail
export PATH="$HOME/.local/bin:$HOME/.npm-global/bin:$PATH"
Expand Down
2 changes: 1 addition & 1 deletion ci/platform-matrix.json
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@
"name": "Other OpenAI-compatible endpoint",
"status": "caveated",
"endpoint_type": "Custom OpenAI-compatible",
"notes": "Adapter path validated against OpenRouter as the `compatible-endpoint` provider with `openrouter/auto` (see `src/lib/inference/config.test.ts:120`); the onboarding prompt that surfaces OpenRouter as the worked example is in `handleRemoteProviderSelection` in `src/lib/onboard.ts`. Behavior on other OpenAI-compatible proxies, gateways, and self-hosted implementations may vary; this row claims the adapter, not the universe of compatible endpoints."
"notes": "Adapter path validated against OpenRouter as the `compatible-endpoint` provider with `openrouter/auto` (see `src/lib/inference/config.test.ts:208`); the onboarding prompt that surfaces OpenRouter as the worked example is in `handleRemoteProviderSelection` in `src/lib/onboard.ts`. Behavior on other OpenAI-compatible proxies, gateways, and self-hosted implementations may vary; this row claims the adapter, not the universe of compatible endpoints."
},
{
"name": "Anthropic",
Expand Down
8 changes: 4 additions & 4 deletions docs/inference/inference-options.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ The managed `dcode` runtime uses Chat Completions through OpenShell even when a
|----------|--------|---------------|-------|
| NVIDIA Endpoints | Tested | OpenAI-compatible | Hosted models on integrate.api.nvidia.com |
| OpenAI | Tested | Native OpenAI-compatible | Uses OpenAI model IDs |
| Other OpenAI-compatible endpoint | Tested with limitations | Custom OpenAI-compatible | Adapter path validated against OpenRouter as the `compatible-endpoint` provider with `openrouter/auto` (see `src/lib/inference/config.test.ts:120`); the onboarding prompt that surfaces OpenRouter as the worked example is in `handleRemoteProviderSelection` in `src/lib/onboard.ts`. Behavior on other OpenAI-compatible proxies, gateways, and self-hosted implementations may vary; this row claims the adapter, not the universe of compatible endpoints. |
| Other OpenAI-compatible endpoint | Tested with limitations | Custom OpenAI-compatible | Adapter path validated against OpenRouter as the `compatible-endpoint` provider with `openrouter/auto` (see `src/lib/inference/config.test.ts:208`); the onboarding prompt that surfaces OpenRouter as the worked example is in `handleRemoteProviderSelection` in `src/lib/onboard.ts`. Behavior on other OpenAI-compatible proxies, gateways, and self-hosted implementations may vary; this row claims the adapter, not the universe of compatible endpoints. |
| Anthropic | Tested | Native Anthropic | Uses anthropic-messages |
| Other Anthropic-compatible endpoint | Tested with limitations | Custom Anthropic-compatible | Adapter path validated with AWS Bedrock (`src/lib/onboard/bedrock-runtime.ts`). Behavior on other Anthropic-compatible proxies and gateways may vary; this row claims the adapter, not the universe of compatible endpoints. |
| Google Gemini | Tested | OpenAI-compatible | Uses Google's OpenAI-compatible endpoint |
Expand Down Expand Up @@ -81,7 +81,7 @@ NemoClaw neither displays nor accepts an unsafe `NEMOCLAW_MODEL` value as the ma

| Option | Description | Curated models |
|--------|-------------|----------------|
| NVIDIA Endpoints | Routes to models hosted on [build.nvidia.com](https://build.nvidia.com). You can also enter any model ID from the catalog. Set `NVIDIA_INFERENCE_API_KEY`. | Nemotron 3 Ultra 550B, Nemotron 3 Super 120B, Kimi K2.6, Minimax M3 |
| NVIDIA Endpoints | Routes to models hosted on [build.nvidia.com](https://build.nvidia.com). You can also enter any model ID from the catalog. Set `NVIDIA_INFERENCE_API_KEY`. | Nemotron 3 Ultra 550B, Nemotron 3 Super 120B, Minimax M3 |
| OpenAI | Routes to the OpenAI API. Set `OPENAI_API_KEY`. | `gpt-5.4`, `gpt-5.4-mini`, `gpt-5.4-nano`, `gpt-5.4-pro-2026-03-05` |
| Other OpenAI-compatible endpoint | Routes to any server that implements `/v1/chat/completions`. NemoClaw uses `/v1/chat/completions` at runtime by default; set `NEMOCLAW_PREFERRED_API=openai-responses` to allow `/v1/responses` for proxies that implement it, such as some llama.cpp builds. The wizard prompts for a base URL and model name. The adapter is validated against OpenRouter (refer to the status table above); behavior on other OpenAI-compatible proxies, gateways, and self-hosted implementations such as LocalAI or llama.cpp may vary. When you enable Telegram messaging, onboarding also runs a bounded sandbox-side smoke check through `https://inference.local/v1/chat/completions`. Set `COMPATIBLE_API_KEY`. | You provide the model name. |
| Anthropic | Routes to the Anthropic Messages API. Set `ANTHROPIC_API_KEY`. | `claude-sonnet-4-6`, `claude-haiku-4-5`, `claude-opus-4-6` |
Expand Down Expand Up @@ -110,7 +110,8 @@ Use [Switch Inference Providers](switch-inference-providers) to move an existing
## Model Task-Fit Guide

Use this table as starter guidance when selecting a curated cloud model during onboarding.
The provider catalog remains authoritative for exact context-window limits, availability, and current pricing.
The provider catalog remains authoritative for exact context-window limits and current pricing.
Successful runtime route validation determines current availability because catalog entries can outlive their backing endpoints.
For NVIDIA Endpoints, the table covers the bundled fallback choices.
The live featured model catalog can include additional models.
The relative labels below are qualitative and compare models within the curated onboarding choices, not across every model a provider offers.
Expand All @@ -119,7 +120,6 @@ The relative labels below are qualitative and compare models within the curated
|---|---|---|---|---|---|
| `nvidia/nemotron-3-ultra-550b-a55b` | Quality-sensitive reasoning, careful synthesis, and complex reviews | Higher | Strong for complex tool plans | Large agent context | Higher |
| `nvidia/nemotron-3-super-120b-a12b` | Default hosted agent work, multi-step planning, and tool-heavy shell workflows | Medium | Strong default for OpenClaw tool loops | Large agent context | Medium |
| `moonshotai/kimi-k2.6` | Coding tasks and shell-heavy agent trajectories | Medium | Strong with NemoClaw's Kimi tool-call compatibility path | Large-context friendly | Medium |
| `minimaxai/minimax-m3` | Long-form writing, multi-turn assistant work, and broad instruction following | Medium | Good for structured assistant turns | Large agent context | Medium |
| `gpt-5.4` | Default OpenAI-backed agent work and general high-quality reasoning | Medium | Strong | Large agent context | Medium-to-high |
| `gpt-5.4-mini` | Latency-sensitive routine automation and repeated helper calls | Low | Good | Medium-to-large context | Low |
Expand Down
2 changes: 1 addition & 1 deletion docs/inference/model-capability-audit.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ When importing a completed row from an issue comment, preserve the exact commit
| Agent surface | Provider class | Model or route | API path | State | Evidence | Required affordance | Follow-up | Source |
|---|---|---|---|---|---|---|---|---|
| OpenClaw primary agent | NVIDIA Endpoints | `nvidia/nemotron-3-super-120b-a12b` | Managed `inference.local` OpenAI-compatible completions | `not-yet-run` | Add trajectory and session evidence before changing state. | Existing setup keeps Tool Search disabled and preserves direct structured tool calls, overriding the generated `tools.toolSearch.mode: tools` default for this route. | Verify `tool_search`, `tool_describe`, `tool_call`, and final execution before replacing the safeguard. | `scripts/generate-openclaw-config.mts`, `nemoclaw-blueprint/model-specific-setup/openclaw/nemotron-3-super-120b-managed-inference.json`. |
| OpenClaw primary agent | NVIDIA Endpoints | `moonshotai/kimi-k2.6` | Managed `inference.local` OpenAI-compatible completions | `not-yet-run` | Add trajectory and session evidence before changing state. | Existing OpenClaw setup manifest applies Kimi compatibility and plugin loading. | Verify Kimi regression evidence before changing state. | `src/lib/inference/config.ts`, `nemoclaw-blueprint/model-specific-setup/openclaw/kimi-k2.6-managed-inference.json`. |
| OpenClaw existing configuration | NVIDIA Endpoints (retired route) | `moonshotai/kimi-k2.6` | Managed `inference.local` OpenAI-compatible completions | `unsupported` | NVIDIA's catalogs still advertised K2.6 while the [live Kimi compatibility job](https://github.com/NVIDIA/NemoClaw/actions/runs/28953873907/job/85907646487) failed route validation with HTTP 404. | The OpenClaw setup manifest remains for existing or custom compatible routes that still serve K2.6. | Select a supported NVIDIA Endpoints model; do not promote K2.7 until its production model ID and chat route are live. | `nemoclaw-blueprint/model-specific-setup/openclaw/kimi-k2.6-managed-inference.json`. |
| OpenClaw primary agent | NVIDIA Endpoints | Any model from `CLOUD_MODEL_OPTIONS` | Managed `inference.local` OpenAI-compatible completions unless config selects another API. | `not-yet-run` | Add one evidence row per model before changing state. | Record `none`, model-specific setup, or provider-class transport behavior. | Expand into per-model rows as evidence lands. | `src/lib/inference/config.ts`. |
| OpenClaw primary agent | OpenAI | Any model from `REMOTE_MODEL_OPTIONS.openai` | `openai` provider through `https://inference.local/v1`. | `not-yet-run` | Add one evidence row per model before changing state. | Record Responses or Chat Completions behavior explicitly. | Expand into per-model rows as evidence lands. | `src/lib/inference/model-prompts.ts`, `src/lib/inference/config.ts`. |
| OpenClaw primary agent | Anthropic | Any model from `REMOTE_MODEL_OPTIONS.anthropic` | `anthropic` provider through `https://inference.local` with `anthropic-messages`. | `not-yet-run` | Add one evidence row per model before changing state. | Record native Anthropic Messages behavior explicitly. | Expand into per-model rows as evidence lands. | `src/lib/inference/model-prompts.ts`, `src/lib/inference/config.ts`. |
Expand Down
2 changes: 1 addition & 1 deletion docs/reference/platform-support.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ NemoClaw routes inference through the OpenShell gateway. Each row below is a pro
|----------|--------|---------------|-------|
| NVIDIA Endpoints | Tested | OpenAI-compatible | Hosted models on integrate.api.nvidia.com |
| OpenAI | Tested | Native OpenAI-compatible | Uses OpenAI model IDs |
| Other OpenAI-compatible endpoint | Tested with limitations | Custom OpenAI-compatible | Adapter path validated against OpenRouter as the `compatible-endpoint` provider with `openrouter/auto` (see `src/lib/inference/config.test.ts:120`); the onboarding prompt that surfaces OpenRouter as the worked example is in `handleRemoteProviderSelection` in `src/lib/onboard.ts`. Behavior on other OpenAI-compatible proxies, gateways, and self-hosted implementations may vary; this row claims the adapter, not the universe of compatible endpoints. |
| Other OpenAI-compatible endpoint | Tested with limitations | Custom OpenAI-compatible | Adapter path validated against OpenRouter as the `compatible-endpoint` provider with `openrouter/auto` (see `src/lib/inference/config.test.ts:208`); the onboarding prompt that surfaces OpenRouter as the worked example is in `handleRemoteProviderSelection` in `src/lib/onboard.ts`. Behavior on other OpenAI-compatible proxies, gateways, and self-hosted implementations may vary; this row claims the adapter, not the universe of compatible endpoints. |
| Anthropic | Tested | Native Anthropic | Uses anthropic-messages |
| Other Anthropic-compatible endpoint | Tested with limitations | Custom Anthropic-compatible | Adapter path validated with AWS Bedrock (`src/lib/onboard/bedrock-runtime.ts`). Behavior on other Anthropic-compatible proxies and gateways may vary; this row claims the adapter, not the universe of compatible endpoints. |
| Google Gemini | Tested | OpenAI-compatible | Uses Google's OpenAI-compatible endpoint |
Expand Down
10 changes: 6 additions & 4 deletions src/lib/inference/config.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,6 @@ describe("inference selection config", () => {
expect(CLOUD_MODEL_OPTIONS).toEqual([
{ id: "nvidia/nemotron-3-ultra-550b-a55b", label: "Nemotron 3 Ultra 550B" },
{ id: "nvidia/nemotron-3-super-120b-a12b", label: "Nemotron 3 Super 120B" },
{ id: "moonshotai/kimi-k2.6", label: "Kimi K2.6" },
{ id: "minimaxai/minimax-m3", label: "Minimax M3" },
]);
expect(CLOUD_MODEL_OPTIONS.map((option: { id: string }) => option.id)).not.toContain(
Expand Down Expand Up @@ -136,9 +135,12 @@ describe("inference selection config", () => {
expect(HERMES_PROVIDER_MODEL_OPTIONS.length).toBeGreaterThan(10);
});

it("retires GLM 5.1 only from the NVIDIA Endpoints picker", () => {
expect(CLOUD_MODEL_OPTIONS.map((option) => option.id)).not.toContain("z-ai/glm-5.1");
expect(HERMES_PROVIDER_MODEL_OPTIONS).toContain("z-ai/glm-5.1");
it.each([
"z-ai/glm-5.1",
"moonshotai/kimi-k2.6",
])("retires %s only from the NVIDIA Endpoints picker", (model) => {
expect(CLOUD_MODEL_OPTIONS.map((option) => option.id)).not.toContain(model);
expect(HERMES_PROVIDER_MODEL_OPTIONS).toContain(model);
});

it("maps ollama-local to the sandbox inference route and default model", () => {
Expand Down
1 change: 0 additions & 1 deletion src/lib/inference/config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,6 @@ export const DEFAULT_HERMES_PROVIDER_MODEL = HERMES_PROVIDER_MODEL_OPTIONS[0];
export const CLOUD_MODEL_OPTIONS = [
{ id: "nvidia/nemotron-3-ultra-550b-a55b", label: "Nemotron 3 Ultra 550B" },
{ id: "nvidia/nemotron-3-super-120b-a12b", label: "Nemotron 3 Super 120B" },
{ id: "moonshotai/kimi-k2.6", label: "Kimi K2.6" },
{ id: "minimaxai/minimax-m3", label: "Minimax M3" },
];
export const DEFAULT_ROUTE_PROFILE = "inference-local";
Expand Down
2 changes: 1 addition & 1 deletion src/lib/inference/model-prompts.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ describe("model prompt helpers", () => {
});

it("returns Minimax M3 from the default cloud model menu", async () => {
const promptFn = promptSequence(["4"]);
const promptFn = promptSequence(["3"]);
const result = await promptCloudModel({
promptFn,
writeLine: vi.fn(),
Expand Down
23 changes: 15 additions & 8 deletions src/lib/inference/nvidia-featured-models.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -41,17 +41,21 @@ describe("NVIDIA featured model catalog", () => {
).toEqual([{ id: "minimaxai/minimax-m3", label: "Minimax M3" }]);
});

it("filters GLM 5.1 while it is retired from NVIDIA Endpoints (#6069)", () => {
it("filters models whose catalogs outlive their NVIDIA Endpoints routes", () => {
expect(
parseNvidiaFeaturedModels(
JSON.stringify({
"featured-models": [
{ model: "z-ai/glm-5.1", "model-name": "GLM 5.1" },
{ model: "moonshotai/kimi-k2.6", "model-name": "Kimi K2.6" },
{
model: "nvidia/nemotron-3-super-120b-a12b",
"model-name": "Nemotron 3 Super 120B",
},
],
}),
),
).toEqual([{ id: "moonshotai/kimi-k2.6", label: "Kimi K2.6" }]);
).toEqual([{ id: "nvidia/nemotron-3-super-120b-a12b", label: "Nemotron 3 Super 120B" }]);
});

it("sanitizes untrusted catalog labels and bounds the rendered menu", () => {
Expand Down Expand Up @@ -91,7 +95,7 @@ describe("NVIDIA featured model catalog", () => {
httpStatus: 200,
curlStatus: 0,
body: JSON.stringify({
"featured-models": [{ model: "moonshotai/kimi-k2.6", "model-name": "Kimi K2.6" }],
"featured-models": [{ model: "minimaxai/minimax-m3", "model-name": "Minimax M3" }],
}),
stderr: "",
message: "",
Expand All @@ -101,7 +105,7 @@ describe("NVIDIA featured model catalog", () => {

expect(result).toEqual({
ok: true,
models: [{ id: "moonshotai/kimi-k2.6", label: "Kimi K2.6" }],
models: [{ id: "minimaxai/minimax-m3", label: "Minimax M3" }],
});
});

Expand All @@ -122,7 +126,6 @@ describe("NVIDIA featured model catalog", () => {
expect(models.map((model) => model.id)).toEqual([
"nvidia/nemotron-3-ultra-550b-a55b",
"nvidia/nemotron-3-super-120b-a12b",
"moonshotai/kimi-k2.6",
"minimaxai/minimax-m3",
]);
expect(warnings).toEqual([
Expand Down Expand Up @@ -183,6 +186,7 @@ describe("NVIDIA featured model catalog", () => {
"featured-models": [
{ model: "unsafe model id", "model-name": "Unsafe" },
{ model: "z-ai/glm-5.1", "model-name": "Retired" },
{ model: "moonshotai/kimi-k2.6", "model-name": "Also retired" },
],
}),
stderr: "",
Expand Down Expand Up @@ -257,6 +261,9 @@ describe("NVIDIA featured model catalog", () => {
});

expect(options.defaultModelId).toBe("nvidia/nemotron-3-super-120b-a12b");
expect(options.cloudModelOptions.map((option) => option.id)).not.toContain(
"moonshotai/kimi-k2.6",
);
});

it("reuses one featured catalog lookup but recomputes defaults across onboarding retries", () => {
Expand All @@ -283,11 +290,11 @@ describe("NVIDIA featured model catalog", () => {
},
});

const kimiDefault = loadOptions("moonshotai/kimi-k2.6");
const retiredDefault = loadOptions("moonshotai/kimi-k2.6");
const ultraDefault = loadOptions("nvidia/nemotron-3-ultra-550b-a55b");
expect(kimiDefault.defaultModelId).toBe("moonshotai/kimi-k2.6");
expect(retiredDefault.defaultModelId).toBe("nvidia/nemotron-3-ultra-550b-a55b");
expect(ultraDefault.defaultModelId).toBe("nvidia/nemotron-3-ultra-550b-a55b");
expect(kimiDefault.cloudModelOptions).toBe(ultraDefault.cloudModelOptions);
expect(retiredDefault.cloudModelOptions).toBe(ultraDefault.cloudModelOptions);
expect(probeCount).toBe(1);
});
});
18 changes: 11 additions & 7 deletions src/lib/inference/nvidia-featured-models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,13 +8,17 @@ import { CLOUD_MODEL_OPTIONS, DEFAULT_CLOUD_MODEL } from "./config";

export const NVIDIA_FEATURED_MODELS_URL =
"https://assets.ngc.nvidia.com/products/api-catalog/featured-models.json";
// GLM 5.1 retirement contract (#6069): the external featured feed may lag an
// NVIDIA Endpoints retirement. The repository authority is CLOUD_MODEL_OPTIONS
// plus the provider-boundary assertion in test/inference-options-docs.test.ts,
// which retain GLM 5.1 only for Hermes. Keep this policy deny-list until a
// deliberate product change reverses #6069; a transient feed omission alone is
// not a removal signal.
const RETIRED_NVIDIA_FEATURED_MODEL_IDS = new Set(["z-ai/glm-5.1"]);
// NVIDIA Endpoints retirement contract: the public featured feed and
// authenticated /models catalog can lag a runtime retirement. The repository
// authority is CLOUD_MODEL_OPTIONS plus the provider-boundary assertion in
// test/inference-options-docs.test.ts, which keeps independently available
// Hermes Provider models separate from NVIDIA Endpoints choices. Keep entries
// in this policy deny-list until a deliberate product change confirms that the
// NVIDIA chat-completions route is available again or names a live successor.
const RETIRED_NVIDIA_FEATURED_MODEL_IDS = new Set([
"z-ai/glm-5.1", // Retired from NVIDIA Endpoints in #6069.
"moonshotai/kimi-k2.6", // Catalogs still list it after its backing route was removed.
]);
const MAX_NVIDIA_FEATURED_CATALOG_BYTES = 1024 * 1024;
const MAX_NVIDIA_FEATURED_MODELS = 100;
const MAX_NVIDIA_FEATURED_MODEL_ID_LENGTH = 256;
Expand Down
Loading
Loading