Repository navigation
feat(config): set the Fabric model provider and sampling on inference routes - #13400
Merged
Merged
Conversation
… 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
enabled auto-merge (squash)
October 18, 2026 02:24
Contributor
This was referenced Oct 18, 2026
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #13395. Part of #13394.
Failure
The YAML couldn't express two model settings the HCL travel team example uses:
providerto the inference provider's API family (openaioranthropic). Hermes'scustomprovider turns reasoning off by default. On the DGX Spark trial, Nemotron Super behindopenaispent its whole token budget reasoning, and behindcustomit answered at once.temperatureortop_p, andextensionscan't carry them.Decision
overrides.harnessProvidersets the Fabric model'sprovider. Without it, the provider stays the inference provider's API family. The name keeps it distinct from the route's ownprovider, the OpenShell inference provider.overrides.temperatureandoverrides.topPset Fabric'stemperatureandtop_p. They're stored as JSON numbers, so they pass through exactly; Fabric validates the range.extensionscan't also set them.Validation
unknown fields are not allowed) and passes after. It checks the compiled Fabric model with and without the fields.cargo cipasses locally: 1543 unit tests and 151 lifecycle tests.docs/inference.mddocuments the fields.