Skip to content

fix: leave the Hermes context check to Hermes - #13485

Merged
cv merged 2 commits into
v1from
fix/hermes-context-owned-by-hermes
Oct 19, 2026
Merged

cv merged 2 commits into
v1from
fix/hermes-context-owned-by-hermes

Conversation

@cv

@cv cv commented Oct 19, 2026 •

Copy link
Copy Markdown
Collaborator

Failure

The SDK hard-coded Hermes's 64,000-token minimum and warned when a Hermes route used a smaller managed vLLM or Ollama window (#13477). That copies a rule Hermes owns. Separately, examples/managed-hermes.yaml served qwen3:0.6b with an 8,192-token window, which Hermes can't use (#13469).

Decision

  • Remove the warning and the accessor it used. Hermes checks the window the model server reports and names the setting to raise.
  • Document the gap found while validating this: Ollama reports the model's native window rather than the one it serves, so Hermes doesn't reject a smaller managed Ollama window, and conversations are cut off at that window instead. That's Hermes's to fix: NousResearch/hermes-agent#141641. It's listed in docs/limits.md.
  • The managed Hermes example now serves nemotron-3-nano:4b, the smallest Nemotron at 2.8 GB, at 65,536 tokens.

Validation

  • cargo ci passed, including the bundle and lifecycle steps.
  • On a DGX Spark, using this branch's bundle, the Ollama runtime image, and the Hermes image:
    • The example applied and Hermes ran uname -m through its terminal tool, replying aarch64.
    • With the service recreated at 32,768 tokens, Hermes still answered: /api/ps reported context_length: 32768, while /api/show reported 262,144. That's the gap above.
    • I destroyed the deployment afterwards and removed its retained volumes and network.

Closes #13477 and #13469 (close by hand after merge).

cv added 2 commits October 19, 2026 09:16
Remove the SDK's warning for Hermes routes to managed services below 64,000 tokens; Hermes checks the window itself. Document that Hermes reads Ollama's native window, so it doesn't catch a smaller managed Ollama window (NousResearch/hermes-agent#141641).

Switch the managed Hermes example to nemotron-3-nano:4b at 65,536 tokens (#13469).
@cv
cv enabled auto-merge (squash) October 19, 2026 16:20
@github-actions

Copy link
Copy Markdown
Contributor

@cv
cv merged commit 7c450df into v1 Oct 19, 2026
@cv
cv deleted the fix/hermes-context-owned-by-hermes branch October 19, 2026 16:46
gaveezy added a commit that referenced this pull request Oct 20, 2026
…ices

The base branch merged v1 up to 0bc2601. Resolutions:

- SecretRef/FileRef split (#13222): `credential` on an inference
  provider is now a `SecretRef`. The cluster key keeps its description
  (the same key as the service's `kubernetes.keySecret`), and
  `InferenceTarget::Service` carries `Option<&SecretRef>`. The authored
  form, `credential: {env: …}`, is unchanged, so the examples and
  fixtures stay as they are.
- context_advisory.rs was removed (#13485). This branch had only
  widened its `InferenceTarget::Service` pattern, so the merge takes the
  deletion and drops the call in `Deployment::run`, keeping the
  NetworkPolicy warning before it.
- Runtime images now build with Bake under image/ (#13507), which
  removed nemoclaw-build's runtime_source.rs and tests/runtime_engine.rs.
  The merge takes both deletions. That also removes 05fb557's
  `--offline` packaging and its test: on Live/Docker runners, archived
  tests ran with a Cargo home that lacked the OpenShell git checkout, so
  offline packaging failed ("you are in the offline mode").
- The authoring journey count is 41: v1 removed one single-sandbox
  example and this branch adds two.
- The schema and configuration reference are regenerated.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@wscurran wscurran added area: local-models Local model providers, downloads, launch, or connectivity area: providers Inference provider integrations and provider behavior bug-fix PR fixes a bug or regression integration: hermes Hermes integration behavior provider: ollama Ollama local model provider behavior provider: vllm vLLM local or hosted provider behavior labels Oct 23, 2026
@wscurran wscurran added the v1 NemoClaw v1 branch label Oct 28, 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: local-models Local model providers, downloads, launch, or connectivity area: providers Inference provider integrations and provider behavior bug-fix PR fixes a bug or regression integration: hermes Hermes integration behavior provider: ollama Ollama local model provider behavior provider: vllm vLLM local or hosted provider behavior v1 NemoClaw v1 branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants