Skip to content

fix(fabric): reject model tuning the adapter does not accept - #14111

Merged
kaofelix merged 6 commits into
NVIDIA:v1from
HOYALIM:codex/14055-model-descriptor
Nov 5, 2026
Merged

kaofelix merged 6 commits into
NVIDIA:v1from
HOYALIM:codex/14055-model-descriptor

Conversation

@HOYALIM

@HOYALIM HOYALIM commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Failure

A Deep Agents Code route with maxTokens, temperature or topP passed planning but sent a field the image's adapter rejects at apply time.

Decision

Reject explicitly authored tuning when the selected adapter does not accept the corresponding Fabric model field. The diagnostic names the sandbox, route and field without printing the value. Preserve supported adapters and legacy model-extension fields rather than silently dropping the requested setting.

Refs #14055.

Validation

  • Observed the new regression fail before the production change: DCode received unsupported max_tokens in its generated configuration.
  • SDK integration fabric_compatibility: 23 passed. The regression checks each of the three denied fields and the public compilation path; existing OpenClaw sampling and Pi extension checks pass.
  • Formatting and Git whitespace checks passed.
  • cargo clippy --locked -p nemoclaw-sdk --lib -- -D warnings passed.
  • Bundle/lifecycle and full workspace checks are deferred to CI. Local validation targets the isolated configuration guard, its public compilation consumer, and the existing adapter-compatibility suite.
  • Independent review covered descriptor semantics, planning call paths, accepted adapters and diagnostics.
  • No live deployment or model request ran. This change rejects unsupported input before the existing deployment path; it does not change image or provider execution.

Signed-off-by: Ho Lim subhoya@gmail.com

Signed-off-by: Ho Lim <subhoya@gmail.com>
@copy-pr-bot

copy-pr-bot Bot commented Nov 3, 2026

Copy link
Copy Markdown

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

@HOYALIM

HOYALIM commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author
Authoring session — opening
Field Status Value Evidence or limit
Harness recorded Codex Desktop; CLI 0.166.0-alpha.5.1 Persisted worker metadata labels its origin synthetic continuity recovery.
Skills partial nemoclaw-pr-loop; nemoclaw-contributor-create-pr Complete skill reads appear in the audited worker record; inherited parent skill activity excluded. Recovery provenance prevents claims about earlier missing activity.
Instruction files partial AGENTS.md (injected workspace instructions and complete worktree read); WRITING.md; target-branch-and-fork-routing.md; SESSION_REPORT_TEMPLATE.md Complete contents observed. Testing guidance read was truncated and is not counted as complete. Inherited parent instruction history excluded.
Tool calls partial Wrappers: exec 37, wait 1; observable nested calls: exec_command 36, apply_patch 9, write_stdin 9 Counts include attempts and failures through cutoff, at separate layers; never summed. Nested calls extracted from literal wrapper source. Recovery provenance limits completeness outside this worker window.
Session window recorded 2026-11-03T00:13:19.633Z to 2026-11-03T00:24:28.657Z; 11m09.024s including idle time Persisted worker first event to fixed audit cutoff; includes read-only review of another change and waiting for parent compilation, not just patch work. Later report preparation excluded. Parent history excluded.
Compactions partial 0 observed No compaction events in the inspected worker record through cutoff; synthetic continuity recovery metadata does not establish earlier parent or pre-recovery compactions.
Models partial gpt-6.1-sol All available worker turn contexts through cutoff agree; inherited parent settings excluded.
Reasoning levels partial low All available worker turn contexts through cutoff agree; inherited parent settings excluded.

@wscurran wscurran added area: inference Inference routing, serving, model selection, or outputs integration: dcode LangChain Deep Code integration behavior v1 NemoClaw v1 branch labels Nov 3, 2026

@kaofelix kaofelix left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

The rule matches Fabric's (adapter_config_compatibility_issues in fabric-core at ddf59e8), and the test fails without the change. Three requests:

  1. A route's overrides.extensions can still send temperature, top_p, or max_tokens. On Deep Agents Code, extensions: {temperature: 0.2} passes for_sandbox, and the generated model contains temperature. The check should cover both sources: tuning and extensions.
  2. Please name the field where the route sets it, built with the config path helpers (sandbox_path, route_path) as other configuration errors are: ...routes[coder].overrides.maxTokens for tuning, or ...routes[coder].overrides.extensions.max_tokens for an extension, rather than the generated models.max_tokens. Because the path depends on the source, the check from request 1 needs to know which one set the value.
  3. docs/troubleshooting.md:51 says this failure appears as adapter/<id> compatibility rejected, and docs/inference.md says Fabric validates these values when it configures the agent. Both need updating. The maxTokens, temperature, and topP descriptions in crates/nemoclaw-sdk/src/config/agent_inference.rs, regenerated into the schema and configuration reference, should mention the check.

Optional: name the Fabric function in the code comment so the copy can be removed once Fabric makes it public.

Signed-off-by: Ho Lim <subhoya@gmail.com>
@wscurran wscurran added the area: docs Documentation, examples, guides, or docs build label Nov 4, 2026
@kaofelix

kaofelix commented Nov 5, 2026

Copy link
Copy Markdown
Collaborator

/ok to test 15029d3

# Conflicts:
#	docs/observability/troubleshooting.md
@kaofelix
kaofelix marked this pull request as ready for review November 5, 2026 16:01

@kaofelix kaofelix left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Extensions are now checked, errors name the authored path, and the docs cover the check. I restored the troubleshooting row for interface rejections and merged v1. Local cargo ci passed on 643648d.

@kaofelix
kaofelix merged commit e1076d7 into NVIDIA:v1 Nov 5, 2026
94 of 96 checks passed
cv added a commit that referenced this pull request Nov 6, 2026
NemoClaw v1 no longer offers the Deep Agents Code harness
(`nvidia.fabric.langchain.deepagents-code`), and pins a Fabric revision
without its adapter. The LangChain Deep Agents harness
(`nvidia.fabric.langchain.deepagents`) stays as it is.

## Problem

The Deep Agents Code integration is on hold: its Fabric adapter pull
requests, NVIDIA/NeMo-Fabric#571 and #575, are closed. `v1` still pins
Fabric `e5b5ebf2`, which merges both, and builds, catalogs, documents,
and live-tests a `deepagents-code` image.

## Change

What users lose:

- the `deepagents-code` agent image and Bake target, and the harness's
entry in the bundled catalog;
- `examples/fabric-deepagents-code.yaml`;
- the `terminal` interface: apply no longer prints an `Open` command,
and JSON `interfaces` entries no longer carry `launcher` or `signIn:
sandbox_exec`.

The Fabric pin moves to `934ab7eca1ec9ac86a22fd24913f2e9d68637c4a`,
branch `integration/nemoclaw-pin-no-dcode` on `cv/NeMo-Fabric`. It
starts from NVIDIA/NeMo-Fabric `main` at `035bc2fe`, which has #568 and
#569, and merges the head branches of #570, #573, #574, #572, and #576,
in that order.

- #574's branch contains #573's and then removes OpenClaw's Control UI
to keep the two pull requests' diffs apart (`9855259c`). Merging both
dropped the Control UI, so the branch reverts that commit; OpenClaw's
files then match #573's head.
- The one textual conflict, in Fabric's
`docs/integrations/harness/hermes.mdx`, keeps #574's layout and adds
#576's `runtime.keep_state` paragraph.
- The regenerated `image/fabric/catalog.json` differs from `e5b5ebf2`'s
only by the removed adapter and the revision; the other 11 descriptors
are unchanged. OpenClaw's supported version is still 2026.9.34.
- The fixture image the HCL cases name, and the registration names in
`openshift-external-two-providers`, follow the new catalog.

`SignIn::SandboxExec`, the interface `launcher` field, and their CLI
output and tests are removed. Only Deep Agents Code's terminal used
them. Pi's descriptor at the new pin declares no interfaces, and no open
NeMo-Fabric pull request adds one: the two that touch Pi, #604 and #595,
change a health test and the README.

The four model-tuning tests from #14111 keep their check, and now select
Codex instead of Deep Agents Code. Codex accepts only `models.base_url`
among model fields and declares no model extension. Pi isn't used: its
`config.accepts` lists only `models.base_url`, but its model extension
declares `max_tokens`, which planning accepts as a legacy extension
field, so the `maxTokens` cases fail with Pi.

The Docker live suite and `cargo ci live-images` no longer build or pull
a `deepagents-code` image. The verify-yaml-deployment skill drops its
Deep Agents Code agent and terminal feature; verify-fabric-boundary now
carries, in its native-interfaces page, the pseudo-terminal driver its
`tui` check took from that feature. Fern's redirects for the old Deep
Agents Code quickstart pages stay.

## Beyond CI

- Fabric `934ab7ec`: its Rust workspace tests, except `fabric-python`,
which needs `libpython3.12` to link; its Python suite (3,282 passed);
and its TypeScript tests passed. The OpenCode tests failed because the
host has Bun 1.3.14 and the adapter needs 1.4.2 or later. `just
check-adapter-catalog` passed.
- GitHub's `codeload` archives of `934ab7ec` under `NVIDIA/NeMo-Fabric`
and `cv/NeMo-Fabric` have the pinned SHA-256.
- On `linux_arm64`, `cargo images build` built all 11 production agent
images and the reference image, `cargo images qualify` passed for all
12, and `catalog.py` run with the built Claude Code image's interpreter
reproduced the committed catalog. `cargo ci live-docker` passed.
- With the tuning check disabled, the three rejection tests failed;
counting a null extension as set failed the fourth.

Not run: `cargo ci live-kind`, and the images on `linux/amd64`; the
Kubernetes images change only by the Fabric pin.
cv added a commit that referenced this pull request Nov 11, 2026
…ms (#14413)

The release notes now list every user-visible change on `v1` since the
`v0.1.0-rc9` tag, including the breaking ones, and four example pages
drop claims that later changes made false.

## Problem

`docs/about/release-notes.md` listed three breaking changes and none of
the features, fixes, and onboarding changes that reached `v1` after
`v0.1.0-rc9`; it didn't name the configuration shapes the parser now
rejects or the intent record version `v0.1.0-rc9` writes.
Some example claims went stale:

- `examples/spark/README.md` said the pinned OpenShell has the Podman
TLS initialization blocker, ai-openshell/openshell#3427; its fix merged before
OpenShell 0.1.0, and `v1` pins 0.1.7.
- `examples/station/README.md` and `examples/gtc-dc/README.md` required
exactly one visible GPU on the host; since #13929,
`container.gpuDevices` lets a service on a host with more GPUs request
one.
- `examples/hcl/travel-team` said Fabric's Deep Agents adapter can't
turn reasoning off, NVIDIA/NeMo-Fabric#433; NVIDIA/NeMo-Fabric#439 fixed
that, and the pinned catalog's Deep Agents `reasoning_effort` accepts
`none`.
- The travel team cited #13313 for the booking key its service doesn't
receive, but #13313 closed when `openshell_api` landed.

## Change

- `docs/about/release-notes.md` gains "Changes Since v0.1.0-rc9",
grouped by area, from the commits in `v0.1.0-rc9..origin/v1`; where a
later commit changed an earlier one, the entry describes the current
code, and changes added and removed after the tag aren't listed:
- Agents and interfaces: #14037, #14038, #14269, #13981, #14024, #14186,
#14052, #14385, #13971, #13858, #13947, #14039, #14042, #14044, #14343.
- Inference: #13929, #14391, #14396, #14398, #14400, #13963, #13912,
#13964, #14388, #14390, #14397.
- Gateways and Kubernetes: #13909, #13970, #13922 (an existing
namespace, refused at plan by #13756, is now bound; cluster-wide reads
dropped), #14014, #14169, #13921.
- Plan, apply, and diagnostics: #14224, #13756, #14141, #14133, #14135,
#13775, #13744, #13701.
- Onboarding: #13693, #13695, #13741, #13757, #13851, #13978, #14228,
#14233, #14334, #14336.
- Examples and builds: #14166, #14184, #14188, #14191, #14192, #14200,
#13889, #14267, #14312, #14315, #14355, b30e9b4, #13781, #13813,
#14246, and the pins in `versions.json` and `image/fabric/Dockerfile`.
- Its breaking changes since the tag:
- the intent record moving from 15, which `v0.1.0-rc9` writes, through
16 (#14266), 17 (#14343), 18 (#13929), 19 (#14391) and 20 (#14394);
  - name-keyed `sandboxes` and `inferenceProviders` (#13703, #13705);
- a recipe `compatibility.gpu` outside every hardware profile (#13912);
- model tuning the adapter doesn't accept (#14111), and Hermes's
`max_tokens` losing its default (#14296);
  - `skills.paths` resolution (#14296);
  - endpoint and `networkCIDR` validation (#13847, #14081);
- the HCL `gateway_values` attribute (#14014), and Kubernetes ownership
receipts from before #13922 and #14014.
  The two earlier items stay, under their own heading.
- `examples/spark/README.md` replaces the closed OpenShell#3427 blocker
with the Podman and remote-model limits in `docs/resources/limits.md`.
- `examples/station/README.md` and `examples/gtc-dc/README.md` require
one GPU visible in the model container, and point to
`container.gpuDevices` for a host with more.
- `examples/hcl/travel-team/README.md` and `WALKTHROUGH.md` drop the
NeMo-Fabric#433 limitation, and the travel team's booking-key statements
link #14417 instead of #13313.

Not listed, because both changes landed after the tag: Deep Agents Code
(#14043, #14250), `compatibility.gpuCount` (#14391, #14394), and the
"Creating infrastructure state" progress step (#14169, #14248).

Checked and left unchanged: the root `README.md`,
`crates/nemoclaw-onboarding/README.md`,
`crates/nemoclaw-cli/assets/README.md`, `internal-docs/README.md`, the
other example READMEs, and every example YAML header comment. The GPU
autoscaling README and `load.sh` read the JSON fields `OperationResult`
serializes, and ai-openshell/openshell#4287 is fixed only after the pinned
0.1.7. The two pre-tag release-note items still match the schema and
SDK. `docs/README.md` is left to #14412, which retires the stale field
reference snapshot it describes.

Not verified: whether Hermes sends the booking key's placeholder to MCP
servers; #14417 tracks the live check.

## Beyond CI

Each relative link and anchor in the changed files resolves to an
existing file and heading.
@cv cv added this to the Roadmap: GTC DC 2026 milestone Nov 18, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: docs Documentation, examples, guides, or docs build area: inference Inference routing, serving, model selection, or outputs integration: dcode LangChain Deep Code integration behavior v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants