# NousResearch/hermes-agent · Cron agent job model pinning and Ollama context fixes

## Open now

- Nothing open on GitHub.

These issues and fixes address two related bugs: pinned model configurations in cron agent jobs incorrectly falling back to the global provider chain, and Ollama models with sub-64K metadata windows failing a 64K context gate check. The work focuses on keeping explicit model pins isolated from fallback logic and correcting context window handling for local Ollama instances.

## TL;DR

- 6 member(s): 0 open issue(s), 1 closed issue(s), 0 open PR(s), 2 merged PR(s), 3 PR(s) closed without merging.
- A fix was merged to main in PR #115693. Verify it addresses your case.
- **Recommended:** read PR #115693 (and any competing PRs below) before filing. Confirm the merged change covers your symptom.

## Maintainer resolution verdict

- Internal-tracker verdict over this cluster's issue members: `resolved` · deciding PR(s): `pr-120312`. This is distinct from the fix status above. Weigh it yourself.

## How this cluster was grouped

- Link evidence (`STRUCTURAL_SPANNING`): every member is connected by structural evidence: shared changed files, or a closing/superseded reference.
- Pairwise link density `0.33`: the share of member pairs that carry a link, counting a structural link in full and a relevance-only link at 0.36. `1.00` means every pair is linked.

## Closed / duplicate issues

- #100437: \[Bug\]: v0.21.0 cron agent-jobs ignore model pin AND local Ollama fallback fails 64K context gate

## Prior & competing PRs

- **#115693: Ollama models with a sub-64K metadata window construct when the served num_ctx is 64K+ (#100437, salvage #100475)**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `agent/agent_init.py`, `tests/agent/test_ollama_num_ctx.py`
- **#120312: fix(cron): a pinned job never falls back to the global fallback chain**. merged to main · fix tier `verified`
  - maintainer direction: category `merged`; implication `superseded`
  - files: `cron/scheduler.py`, `cron/scheduler_preflight.py`, `hermes_cli/fallback_config.py`, `tests/cron/test_cron_pinned_job_fallback.py`, `tests/cron/test_preflight_config.py`, `tests/cron/test_scheduler.py`, `tools/delegate_tool_config.py`, `website/docs/developer-guide/cron-internals.md`, `website/docs/developer-guide/provider-runtime.md`, `website/docs/user-guide/features/cron.md`, `website/docs/user-guide/features/fallback-providers.md`
- **#100475: fix(cron): let pinned agent jobs use configured local Ollama context**. closed without merge
  - maintainer direction: category `merged_via`; implication `superseded`; refs `afaa53e5fe`, `#115693`, `#100437`
- **#105183: fix(cron): keep per-job provider pin off the fallback chain**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#120312`, `#100437`, `#120312`, `#120312`
- **#111805: fix(agent): keep a hard --model pin off the runtime fallback ladder**. closed without merge
  - maintainer direction: category `superseded_by_pr`; implication `superseded`; refs `#120312`, `#100437`, `#120312`

## Fix status

- Merged to main in PR #115693 (cited above). No release data is tracked. Verify downstream.
- Fix last verified (merged) `2026-09-23`.
