Skip to content

feat(config): set the Fabric model provider and sampling on inference routes - #13400

Merged
cv merged 1 commit into
v1from
feat/route-model-settings
Oct 18, 2026
Merged

cv merged 1 commit into
v1from
feat/route-model-settings

Conversation

@cv

@cv cv commented Oct 18, 2026

Copy link
Copy Markdown
Collaborator

Closes #13395. Part of #13394.

Failure

The YAML couldn't express two model settings the HCL travel team example uses:

  • Fabric model provider: the SDK always set each Fabric model's provider to the inference provider's API family (openai or anthropic). Hermes's custom provider turns reasoning off by default. On the DGX Spark trial, Nemotron Super behind openai spent its whole token budget reasoning, and behind custom it answered at once.
  • Sampling: route overrides had no temperature or top_p, and extensions can't carry them.

Decision

  • overrides.harnessProvider sets the Fabric model's provider. Without it, the provider stays the inference provider's API family. The name keeps it distinct from the route's own provider, the OpenShell inference provider.
  • overrides.temperature and overrides.topP set Fabric's temperature and top_p. They're stored as JSON numbers, so they pass through exactly; Fabric validates the range.
  • Once set, they're deployment-owned fields, so extensions can't also set them.

Validation

  • A new SDK test failed before the change (unknown fields are not allowed) and passes after. It checks the compiled Fabric model with and without the fields.
  • cargo ci passes locally: 1543 unit tests and 151 lifecycle tests.
  • The schema and the configuration reference are regenerated, and docs/inference.md documents the fields.

… routes

Route overrides gain harnessProvider, which sets the Fabric model's provider
(defaulting to the inference provider's API family), and temperature and topP,
which set Fabric's temperature and top_p.
@cv
cv enabled auto-merge (squash) October 18, 2026 02:24
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit 015b1d5 into v1 Oct 18, 2026
@cv
cv deleted the feat/route-model-settings branch October 18, 2026 02:36
cv added a commit that referenced this pull request Oct 18, 2026
)

Closes #13399. Part of #13394. Stacked on #13405.

## Failure

The multi-agent travel team existed only as hand-written HCL (#13393).
Expressing it in YAML exposed gaps that #13400, #13401, #13402, #13403
and #13405 closed, but there was no YAML version showing that the team
now fits.

## Decision

`examples/travel-team.yaml` declares the HCL example's six agents:

- **Researchers:** a managed Ollama Nemotron Nano, web search with
Hermes's key name (`sandboxEnv`), the `web` toolset, at temperature 0.2.
- **Scheduler:** a hosted Nemotron Super at temperature 0.3, with the
`delegation` toolset.
- **Buyer:**
  - the hosted model at temperature 0;
- the booking service as an `api` integration and an MCP server, with
only its toolset;
- a network grant limiting the service to setup, discovery, `get_quote`
and `book_option`.
- **All roles:** isolated sandboxes, Hermes's `custom` provider
(reasoning off), and the HCL example's token and turn limits.

The YAML has no templating, so instructions are written out per agent
and shorter than the HCL's, and they describe each hand-off format
instead of embedding the JSON Schemas. The HCL README links the YAML
version and says when to use each.

## Validation

- A new SDK test compiles the example and checks each sandbox against
the HCL example's settings: Fabric model provider, temperature, token
and turn limits, toolsets, instructions, attached registrations, and the
buyer's tool-restricted grant.
- `cargo ci` passes locally: 1552 unit tests and 153 lifecycle tests.
- Not run against a live gateway; the HCL version ran on a DGX Spark in
#13393.
@wscurran wscurran added area: inference Inference routing, serving, model selection, or outputs feature PR adds or expands user-visible functionality integration: hermes Hermes integration behavior v1 NemoClaw v1 branch labels Oct 23, 2026
@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: inference Inference routing, serving, model selection, or outputs feature PR adds or expands user-visible functionality integration: hermes Hermes integration behavior v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants