router: skip tiers whose window cannot hold the history #188

Merged
hermes merged 2 commits from fix-router-window-fit into main 2026-11-14 12:00:37 +00:00
Collaborator

Auto mode picked Haiku (200k window) for light prompts like commit even when the session history exceeded it (e.g. 1M Sonnet session). Request failed, input stayed blocked. Router now moves up a tier until the model window fits est. history (90%). Test added.

Auto mode picked Haiku (200k window) for light prompts like `commit` even when the session history exceeded it (e.g. 1M Sonnet session). Request failed, input stayed blocked. Router now moves up a tier until the model window fits est. history (90%). Test added.
hermes added 1 commit 2026-11-14 11:56:23 +00:00
hermes added 1 commit 2026-11-14 12:00:02 +00:00
hermes merged commit 77e32bbc78 into main 2026-11-14 12:00:37 +00:00
Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: johannes/hx#188