docs(skill): document context_length auto-detection resolution chain - #49483
Closed
Railway9784 wants to merge 1 commit into
Closed
Railway9784 wants to merge 1 commit into
Railway9784 wants to merge 1 commit into
Conversation
When model.context_length is set in config.yaml, it blocks auto-detection from the server's /v1/models endpoint. The skill incorrectly implied a hard fallback to 131072. Add the resolution chain and the fix command (hermes config set model.context_length "") to both the config table and a new troubleshooting section.
Collaborator
|
Merged via PR #49914 (docs salvage cluster). Your commit was cherry-picked onto current main with your authorship preserved in git log — merged with rebase so it lands under your name. Thanks for the contribution! |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When model.context_length is set in config.yaml, it blocks auto-detection from the server's /v1/models endpoint. The skill incorrectly implied a hard fallback to 131072. Add the resolution chain and the fix command (hermes config set model.context_length "") to both the config table and a new troubleshooting section.
What does this PR do?
The bundled hermes-agent skill's config table and troubleshooting
section don't explain that
model.context_lengthblocks auto-detectionfrom the server's
/v1/modelsendpoint, or how to restore it.Hermes uses a 4-step resolution chain:
Two changes:
hermes config set model.context_length ""fixReal-world case: user had
-c 262144but Hermes showed 128k because a stale config value survived from a previous setup.