fix(hermes): honor Ollama context floor - #6767
Conversation
|
Note Reviews pausedIt looks like this branch is under active development. To avoid overwhelming you with review comments due to an influx of new commits, CodeRabbit has automatically paused this review. You can configure this behavior by changing the Use the following commands to manage reviews:
Use the checkboxes below for quick actions:
📝 WalkthroughWalkthroughHermes now requires a minimum 64,000-token context window. Local Ollama onboarding, runtime validation, configuration generation, resume recovery, tests, and documentation propagate and enforce this floor. ChangesHermes validation and runtime enforcement
Ollama onboarding and resume propagation
Estimated code review effort: 4 (Complex) | ~60 minutes Sequence Diagram(s)sequenceDiagram
participant SetupNim
participant OllamaStartup
participant OllamaSystemd
participant OllamaRuntime
participant OllamaAPI
SetupNim->>OllamaStartup: pass contextWindowFloor
SetupNim->>OllamaSystemd: configure contextWindowFloor
OllamaStartup->>OllamaSystemd: start Ollama with OLLAMA_CONTEXT_LENGTH
SetupNim->>OllamaRuntime: validate selected model context
OllamaRuntime->>OllamaAPI: probe loaded model via /api/ps
OllamaAPI-->>OllamaRuntime: return context_length
OllamaRuntime-->>SetupNim: return success or validation failure
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@docs/reference/troubleshooting.mdx`:
- Line 2419: Update the adjacent shared troubleshooting commands by splitting
them into agent-specific <AgentOnly> blocks: retain OLLAMA_CONTEXT_LENGTH=16384
for OpenClaw and use OLLAMA_CONTEXT_LENGTH=64000 for Hermes. Keep each command’s
existing behavior and agent-specific context unchanged.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: efa5bc21-d1b6-4a63-b484-1fcf11b88629
📒 Files selected for processing (20)
agents/hermes/config/build-env.tsdocs/inference/configure-model-limits.mdxdocs/inference/set-up-ollama.mdxdocs/reference/troubleshooting.mdxsrc/lib/inference/local.tssrc/lib/inference/ollama-runtime-context.test.tssrc/lib/inference/ollama-runtime-context.tssrc/lib/onboard.tssrc/lib/onboard/install-ollama-linux.test.tssrc/lib/onboard/install-ollama-linux.tssrc/lib/onboard/install-ollama-macos.test.tssrc/lib/onboard/install-ollama-macos.tssrc/lib/onboard/ollama-systemd.test.tssrc/lib/onboard/ollama-systemd.tssrc/lib/onboard/setup-nim-flow.test.tssrc/lib/onboard/setup-nim-flow.tssrc/lib/onboard/setup-nim-ollama.test.tssrc/lib/onboard/setup-nim-ollama.tssrc/lib/onboard/setup-nim-selection.tstest/generate-hermes-config.test.ts
9d2dca1 to
9c7952b
Compare
Signed-off-by: HwangJohn <angelic805@gmail.com>
9c7952b to
24a97b8
Compare
|
Caution Failed to replace (edit) comment. This is likely due to insufficient permissions or the comment being deleted. Error details |
|
✨ Thanks for the fix, @HwangJohn. Honoring the Hermes Ollama context floor should prevent the silent inference failure after onboarding reports Ready. Ready for maintainer review. Related open issues: Related open issues: |
Signed-off-by: HwangJohn <angelic805@gmail.com>
PR Review Advisor — InformationalAdvisor assessment: Informational / medium confidence Model lanes
Nemotron output stays in workflow artifacts and does not change the assessment above. E2E guidanceAdvisory only. E2E / PR Gate selects and runs jobs independently. Recommended E2E: 3 optional E2E recommendations
This automated review informs maintainers. Warnings and suggestions do not require a response. A maintainer decides whether to merge. |
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
There was a problem hiding this comment.
Actionable comments posted: 1
🧹 Nitpick comments (1)
src/lib/onboard/local-inference-topology.test.ts (1)
1-1: 📐 Maintainability & Code Quality | 🔵 Trivial | ⚡ Quick winNew Hermes-floor describe blocks omit the
(#1234)issue-reference suffix. Both newdescribeblocks were added specifically to codify the fix for issue#6760, but neither includes the local-issue-reference suffix the repo's test-title convention calls for.
src/lib/onboard/local-inference-topology.test.ts#L114-125: append(#6760)todescribe("repairLocalInferenceSystemdOverrideOrExit", ...).src/lib/onboard/machine/handlers/provider-inference-ollama-context.test.ts#L11-11: append(#6760)todescribe("handleProviderInferenceState Ollama context resume", ...).As per coding guidelines,
**/*.test.{js,ts}: "Use behavior-oriented test titles and place local issue references in a final(#1234)suffix."🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@src/lib/onboard/local-inference-topology.test.ts` at line 1, Append the final issue-reference suffix "(`#6760`)" to the two new describe titles: "repairLocalInferenceSystemdOverrideOrExit" in local-inference-topology.test.ts and "handleProviderInferenceState Ollama context resume" in provider-inference-ollama-context.test.ts. Preserve the existing behavior-oriented wording and test structure.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@src/lib/onboard/local-inference-topology.ts`:
- Around line 161-201: Replace the direct process exit in exitOllamaResumeRepair
with throwing an error so repair failures propagate to the caller. Preserve the
existing failure messages and call sites in
repairLocalInferenceSystemdOverrideOrExit, allowing provider-inference.ts to
catch each missing-model, unreachable-host, validation, and runtime-context
failure, record state.repair.failed, then perform logging and exit.
---
Nitpick comments:
In `@src/lib/onboard/local-inference-topology.test.ts`:
- Line 1: Append the final issue-reference suffix "(`#6760`)" to the two new
describe titles: "repairLocalInferenceSystemdOverrideOrExit" in
local-inference-topology.test.ts and "handleProviderInferenceState Ollama
context resume" in provider-inference-ollama-context.test.ts. Preserve the
existing behavior-oriented wording and test structure.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: eefaffcf-58f5-4408-b3e1-d98f3210276e
📒 Files selected for processing (19)
docs/inference/configure-model-limits.mdxdocs/inference/set-up-ollama.mdxdocs/reference/commands.mdxdocs/reference/troubleshooting.mdxsrc/lib/inference/local.tssrc/lib/inference/ollama-runtime-context.test.tssrc/lib/inference/ollama-runtime-context.tssrc/lib/onboard.tssrc/lib/onboard/local-inference-topology.test.tssrc/lib/onboard/local-inference-topology.tssrc/lib/onboard/machine/handlers/provider-inference-ollama-context.test.tssrc/lib/onboard/machine/handlers/provider-inference.test.tssrc/lib/onboard/machine/handlers/provider-inference.tssrc/lib/onboard/ollama-startup.test.tssrc/lib/onboard/ollama-startup.tssrc/lib/onboard/setup-nim-flow.test.tssrc/lib/onboard/setup-nim-flow.tssrc/lib/onboard/setup-nim-ollama.test.tssrc/lib/onboard/setup-nim-ollama.ts
🚧 Files skipped from review as they are similar to previous changes (7)
- src/lib/onboard.ts
- src/lib/onboard/setup-nim-flow.ts
- docs/reference/troubleshooting.mdx
- src/lib/onboard/setup-nim-flow.test.ts
- docs/inference/configure-model-limits.mdx
- src/lib/onboard/setup-nim-ollama.ts
- src/lib/inference/local.ts
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
|
@cv, could you vet and approve the fork workflows for this fresh exact head?
The E2E gate is reserved at check |
Signed-off-by: HwangJohn <angelic805@gmail.com>
Signed-off-by: HwangJohn <angelic805@gmail.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
|
Current exact head is synced, mergeable, and includes both the pinned-context fix and the final test hardening.
Fresh exact-head CI, Terra/Nemotron, CodeRabbit, and the native E2E gate are running. I will renew the runner-vetting request only after these exact-head reviews settle. |
|
@coderabbitai review |
|
@cv @jyaunches, please vet and approve the fork workflows for this exact, current PR head.
The native E2E gate remains pending and will be monitored after workflow vetting. No credentialed job or stale authorization will be reused. |
✅ Action performedReview finished.
|
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
test/onboard-ollama-context-floor.test.ts (1)
157-166: 🎯 Functional Correctness | 🟡 Minor | ⚡ Quick winClear inherited Ollama configuration from the child environment.
Spreading
process.envallows values such asOLLAMA_HOSTto redirect probes away from the mocked127.0.0.1:11434endpoint, making this deterministic test fail for unrelated host configuration.Proposed fix
+ const env = { + ...process.env, + HOME: tmpDir, + PATH: `${fakeBin}:${process.env.PATH || ""}`, + NEMOCLAW_NON_INTERACTIVE: "1", + NEMOCLAW_PROVIDER: "ollama", + NEMOCLAW_MODEL: OLLAMA_MODEL, + NEMOCLAW_YES: "1", + NEMOCLAW_CONTEXT_WINDOW: configuredContextWindow, + }; + delete env.OLLAMA_HOST; + return spawnSync(process.execPath, [scriptPath], { cwd: repoRoot, encoding: "utf-8", - env: { - ...process.env, - HOME: tmpDir, - PATH: `${fakeBin}:${process.env.PATH || ""}`, - NEMOCLAW_NON_INTERACTIVE: "1", - NEMOCLAW_PROVIDER: "ollama", - NEMOCLAW_MODEL: OLLAMA_MODEL, - NEMOCLAW_YES: "1", - NEMOCLAW_CONTEXT_WINDOW: configuredContextWindow, - }, + env, });As per coding guidelines, deterministic tests must undo environment and global stubs explicitly when needed. <coding_guidelines>
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@test/onboard-ollama-context-floor.test.ts` around lines 157 - 166, Update the child environment in the test around the env configuration to explicitly remove inherited Ollama settings, especially OLLAMA_HOST, after spreading process.env. Ensure the spawned process always probes the mocked 127.0.0.1:11434 endpoint while preserving the existing test-specific environment values.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In `@test/onboard-ollama-context-floor.test.ts`:
- Around line 157-166: Update the child environment in the test around the env
configuration to explicitly remove inherited Ollama settings, especially
OLLAMA_HOST, after spreading process.env. Ensure the spawned process always
probes the mocked 127.0.0.1:11434 endpoint while preserving the existing
test-specific environment values.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 242253aa-3596-4e4b-8044-7a8265ea45d4
📒 Files selected for processing (17)
docs/inference/set-up-ollama.mdxdocs/reference/commands.mdxdocs/reference/troubleshooting.mdxsrc/lib/inference/ollama-runtime-context.test.tssrc/lib/onboard.tssrc/lib/onboard/local-inference-topology.test.tssrc/lib/onboard/local-inference-topology.tssrc/lib/onboard/machine/handlers/provider-inference-ollama-context.test.tssrc/lib/onboard/machine/handlers/provider-inference.tssrc/lib/onboard/ollama-probe-failure.test.tssrc/lib/onboard/ollama-probe-failure.tssrc/lib/onboard/ollama-startup.test.tssrc/lib/onboard/ollama-startup.tssrc/lib/onboard/setup-nim-ollama.test.tssrc/lib/onboard/setup-nim-ollama.tssrc/lib/onboard/setup-nim-selection.tstest/onboard-ollama-context-floor.test.ts
🚧 Files skipped from review as they are similar to previous changes (11)
- src/lib/onboard/machine/handlers/provider-inference-ollama-context.test.ts
- src/lib/onboard/setup-nim-ollama.test.ts
- src/lib/onboard/local-inference-topology.ts
- src/lib/onboard/machine/handlers/provider-inference.ts
- src/lib/onboard/setup-nim-selection.ts
- src/lib/onboard/ollama-probe-failure.ts
- src/lib/onboard/setup-nim-ollama.ts
- src/lib/inference/ollama-runtime-context.test.ts
- docs/reference/troubleshooting.mdx
- docs/inference/set-up-ollama.mdx
- src/lib/onboard.ts
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com> # Conflicts: # src/lib/onboard/setup-nim-flow.ts
|
@coderabbitai review |
✅ Action performedReview finished.
|
|
@cv @jyaunches, please vet and approve all fork workflows for this exact current revision. The earlier
The native E2E gate remains pending and will be monitored after runner vetting. No stale fork approval or credentialed authorization will be reused. |
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
|
@cv @jyaunches — please vet and approve the fork-triggered workflows for the current exact revision of #6767.
Exact action-required runs:
This supersedes the earlier request for stale head |
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
|
Important Superseded: @cv @jyaunches — please vet and approve the fork-triggered workflows for the current exact revision of #6767.
Exact action-required runs:
This supersedes request #6767 (comment) and every earlier stale-head request. |
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
@cv @jyaunches — please vet and approve the fork-triggered workflows for the current exact revision of #6767.
Exact action-required runs:
This supersedes #6767 (comment) and every earlier stale-head request. The native credentialed E2E gate remains pending and will be monitored after workflow vetting. |
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
Signed-off-by: Charan Jagwani <cjagwani@nvidia.com>
<!-- markdownlint-disable MD041 --> ## Summary Adds the canonical `docs/changelog/2026-07-15.mdx` entry with the exact `## v0.0.84` heading for the release candidate range from `v0.0.83` through `710d2b36b9eebcb6bca3c2b2f796a1bdb69c3a31`. Fills two owner-page gaps for model-aware local inference health and pre-write OpenClaw candidate validation. ## Changes - Add the complete shared Fern changelog entry for `v0.0.84`, with literal CLI names and root-absolute OpenClaw and Hermes routes. - Document that sandbox status and doctor compare the configured Ollama or vLLM model with provider inventory without issuing a completion. - Document that host-side OpenClaw `config set` validates the complete candidate before replacing live config or reaching gateway restart. - Reconcile the `v0.0.84` release label with the commit range. PR #6773 is already contained in `v0.0.83` and remains documented there; CI, test-harness, docs-infrastructure, and `.js` to `.mts` migration-only changes require no additional user guidance. ### Source summary - [#6882](#6882) -> `docs/manage-sandboxes/backup-restore.mdx`, `docs/changelog/2026-07-15.mdx`: Explain that OpenClaw runtime identity and pairing state are excluded from snapshots and ignored during restore. - [#6873](#6873) -> `docs/inference/set-up-ollama.mdx`, `docs/changelog/2026-07-15.mdx`: Record the Ollama requested-model environment fallback and interactive default. - [#6835](#6835) -> `docs/changelog/2026-07-15.mdx`: Include the sandbox name in the documented rebuild resume-recovery behavior. - [#6886](#6886) -> `docs/inference/custom-endpoint-security.mdx`, `docs/inference/set-up-openai-compatible-endpoint.mdx`, `docs/changelog/2026-07-15.mdx`: Explain the exact-host trusted-private endpoint opt-in and retained SSRF boundaries. - [#6887](#6887) -> `docs/reference/commands.mdx`, `docs/changelog/2026-07-15.mdx`: Document Telegram channel health verdicts, summary behavior, and exit status. - [#6863](#6863) -> `docs/manage-sandboxes/lifecycle.mdx`, `docs/changelog/2026-07-15.mdx`: Add the missing model-inventory behavior for local status and doctor checks. - [#6902](#6902) -> `docs/manage-sandboxes/runtime-controls.mdx`, `docs/changelog/2026-07-15.mdx`: Add the missing pre-write OpenClaw candidate-validation contract. - [#6916](#6916) -> `docs/changelog/2026-07-15.mdx`: Preserve the failed-session fresh-install recovery correction in the release entry. - [#6934](#6934) -> `docs/reference/commands.mdx`, `docs/reference/troubleshooting.mdx`, `docs/security/credential-storage.mdx`, `docs/changelog/2026-07-15.mdx`: Summarize completed-prompt checkpointing and validated credential reuse during OpenClaw resume. - [#6898](#6898) -> `docs/inference/switch-models.mdx`, `docs/inference/switch-providers.mdx`, `docs/reference/troubleshooting.mdx`, `docs/changelog/2026-07-15.mdx`: Explain Hermes dashboard convergence after in-place inference changes. - [#6711](#6711) -> `docs/manage-sandboxes/run-sandboxes.mdx`, `docs/manage-sandboxes/uninstall-nemoclaw.mdx`, `docs/reference/architecture.mdx`, `docs/reference/commands.mdx`, `docs/changelog/2026-07-15.mdx`: Summarize port-scoped host state and uninstall preservation. - [#6767](#6767) -> `docs/inference/configure-model-limits.mdx`, `docs/inference/set-up-ollama.mdx`, `docs/reference/troubleshooting.mdx`, `docs/changelog/2026-07-15.mdx`: Record the Hermes `64000`-token Ollama floor and unchanged OpenClaw floor. - [#6862](#6862) -> `docs/get-started/quickstart.mdx`, `docs/inference/verify-inference-route.mdx`, `docs/changelog/2026-07-15.mdx`: Explain retryable not-ready finalization for unhealthy inference routes. - [#6766](#6766) -> `docs/security/tcb-boundary.mdx`, `docs/changelog/2026-07-15.mdx`: Document definitive stale transition-lock recovery and fail-closed ambiguous cases. - [#6948](#6948) -> `docs/manage-sandboxes/manage-mcp-servers.mdx`, `docs/changelog/2026-07-15.mdx`: Include Hermes MCP apply-state race recovery in the release entry without changing the established user workflow. - [#6964](#6964) -> `docs/reference/troubleshooting.mdx`, `docs/changelog/2026-07-15.mdx`: Record complete agent-specific fresh-install and resume recovery commands. - [#6883](#6883) -> `docs/get-started/quickstart.mdx`, `docs/inference/set-up-vllm.mdx`, `docs/reference/platform-support.mdx`, `docs/changelog/2026-07-15.mdx`: Summarize the DGX Station Nemotron Ultra express path and pinned managed-vLLM recipe. - [#6985](#6985) -> `docs/inference/set-up-vllm.mdx`, `docs/reference/commands.mdx`, `docs/changelog/2026-07-15.mdx`: Capture the final automated and interactive storage-warning behavior. ## Type of Change - [ ] Code change (feature, bug fix, or refactor) - [ ] Code change with doc updates - [x] Doc only (prose changes, no code sample modifications) - [ ] Doc only (includes code sample changes) ## Quality Gates - [ ] Tests added or updated for changed behavior - [x] Existing tests cover changed behavior — `test/changelog-docs.test.ts` validates the dated-entry structure, exact version heading, and preserved history. - [ ] Tests not applicable — justification: - [x] Docs updated for user-facing behavior changes - [ ] Docs not applicable — justification: - [ ] Sensitive paths changed (security, policy, credentials, preflight, onboarding, inference, runner, sandbox, or messaging) - [ ] Sensitive-path review completed or maintainer-approved waiver recorded — reviewer/approval link/justification: - [ ] Non-success, skipped, or missing CI check accepted by maintainer — check name, approval link, and follow-up issue: ## Verification - [x] PR description includes a `Signed-off-by:` line and every commit appears as `Verified` in GitHub - [x] Normal `pre-commit`, `commit-msg`, and `pre-push` hooks passed, or `npm run check:diff` passed when hooks were skipped or unavailable - [x] Targeted behavior tests pass for the current change set, or tests are marked not applicable above — `npx vitest run test/changelog-docs.test.ts` (6 passed) - [ ] Applicable broad gate passed — `npm test` for broad runtime/test-harness changes; `npm run check` for repo-wide validation/coverage changes — not run for this doc-only change. - [x] Quality Gates section completed with required justifications or waivers - [x] No secrets, API keys, or credentials committed - [ ] `npm run docs` builds without warnings (doc changes only) — completed with 0 errors; Fern reported the unchanged unauthenticated redirect-check and light-theme contrast warnings. - [x] Doc pages follow the [style guide](https://github.com/NVIDIA/NemoClaw/blob/main/docs/CONTRIBUTING.md) (doc changes only) - [ ] New doc pages include SPDX header and frontmatter (new pages only) — the native changelog entry uses the required parser-safe MDX SPDX comment and intentionally has no frontmatter. --- Signed-off-by: Prekshi Vyas <prekshiv@nvidia.com> <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Added the v0.0.84 changelog entry covering setup, endpoint onboarding, model handling, sandbox readiness, recovery, channel status, and configuration safeguards. * Clarified that sandbox health checks validate configured models against local Ollama and vLLM provider inventories without generating completions or consuming tokens. * Documented that invalid runtime configuration changes are rejected while preserving the existing working configuration. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Summary
NemoHermes Local Ollama onboarding now carries Hermes Agent's 64000-token context floor through daemon setup, model validation, and generated Hermes config. OpenClaw keeps the existing 16384-token Ollama floor, while explicit Hermes
NEMOCLAW_CONTEXT_WINDOWvalues below 64000 fail config generation instead of producing a sandbox that fails on first inference.Related Issue
Fixes #6760
Changes
NEMOCLAW_CONTEXT_WINDOWvalues below 64000 in config generation.Type of Change
Quality Gates
Verification
Verifiedin GitHubpre-commit,commit-msg, andpre-pushhooks passed, ornpm run check:diffpassed when hooks were skipped or unavailable — local Windows note:npm run check:diffreaches repository checks but the existing runner hits Windows-onlyspawnSync("tsx.cmd")and executable-bit limitations; manual equivalent repository checks,npx commitlint --from origin/main --to HEAD, andnpx prek run --from-ref origin/main --to-ref HEAD --stage pre-pushpassed.src/lib/inference/ollama-runtime-context.test.ts,src/lib/onboard/ollama-systemd.test.ts,src/lib/onboard/setup-nim-flow.test.ts,src/lib/onboard/setup-nim-ollama.test.ts,src/lib/onboard/install-ollama-macos.test.ts,src/lib/onboard/install-ollama-linux.test.ts, andtest/generate-hermes-config.test.tswith the new [All Platforms][Onboard] NemoHermes Ollama onboard reports Ready but hermes inference fails: Ollama context 16384 below Hermes 64K minimum #6760 cases selected.npm testfor broad runtime/test-harness changes;npm run checkfor repo-wide validation/coverage changes — command/result:npm run docsbuilds without warnings (doc changes only) — local Windows note:npm run docs:check-agent-variants,npm run docs:check-routes, and PowerShell-equivalent Fern check passed with 0 errors; fullnpm run docsdoes not complete under Windows PowerShell because the existing script uses POSIXFERN_VERSION=$(...)syntax.Signed-off-by: HwangJohn angelic805@gmail.com
Summary by CodeRabbit
New Features
OLLAMA_CONTEXT_LENGTH=...when required, including systemd-managed installs.Bug Fixes
Documentation
Tests