fix(models): add glm-5.1 to opencode-go catalogs - #11269
Merged
teknium1 merged 1 commit intoApr 16, 2026
Merged
Conversation
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.
What does this PR do?
Adds
glm-5.1to Hermes's built-in OpenCode Go model catalogs.OpenCode's current Go docs list
glm-5.1as a supported model on the same chat-completions endpoint asglm-5, but Hermes's hardcoded OpenCode Go lists were still only exposingglm-5in the picker and setup defaults. This change brings those catalogs up to date.Related Issue
Fixes #
Type of Change
Changes Made
glm-5.1to the OpenCode Go provider list inhermes_cli/models.pyglm-5.1to the OpenCode Go setup defaults inhermes_cli/setup.pytests/hermes_cli/test_model_validation.pytests/hermes_cli/test_opencode_go_in_model_list.pyHow to Test
glm-5.1appears alongsideglm-5in the available model list.Checklist
Code
fix(scope):,feat(scope):, etc.)pytest tests/ -qand all tests passDocumentation & Housekeeping
docs/, docstrings) — or N/Acli-config.yaml.exampleif I added/changed config keys — or N/ACONTRIBUTING.mdorAGENTS.mdif I changed architecture or workflows — or N/AScreenshots / Logs
Targeted tests passed:
source venv/bin/activate && python -m pytest tests/hermes_cli/test_model_validation.py tests/hermes_cli/test_opencode_go_in_model_list.py -qResult:
65 passed in 4.37sFull suite run requested by maintainer:
source venv/bin/activate && python -m pytest tests/ -q -n 4Result:
The failures were broad and not concentrated in the OpenCode Go catalog/model-validation area touched by this PR.