fix: align model context length across display and runtime#11437
fix: align model context length across display and runtime#11437leavrcn wants to merge 1 commit into
Conversation
Verification ResultAfter restarting Expected
Runtime CheckUsing
This confirms the runtime values are applied correctly, not just present in config. Real Compression TestI then executed a direct
Observed result:
A valid compaction summary was generated with the expected prefix:
ConclusionVerification passed. Confirmed:
|
|
Thanks for the careful work on this, @leavrcn! The context-length alignment bug you identified was independently fixed on This is an automated hermes-sweeper review.
Your |
Summary
/modeldisplay context resolution with runtime precedence for custom providers and global overridesVerification
pytest -q tests/hermes_cli/test_model_switch_context_alignment.py tests/hermes_cli/test_model_switch_opencode_anthropic.py tests/gateway/test_model_command_custom_providers.pypython -m py_compile cli.py gateway/run.py hermes_cli/model_switch.py run_agent.pyNotes
gateway/config.py,package-lock.json, and unrelated docs drafts) out of this PR