Conversation
Stop freezing the xAI/xAI-OAuth catalog at import so /model and setup pick up new Grok IDs after the models.dev cache refreshes. Put xai and xai-oauth on the shared picker-time models.dev merge path and pin grok-4.6 as the default headline model.
Collaborator
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?
models from xAI could get stale in the picker, also set grok-4.6 to default
Related Issue
Related upstream context:
xaito_MODELS_DEV_PREFERRED)Type of Change
Changes Made
hermes_cli/models.py— addxai/xai-oauthto_MODELS_DEV_PREFERRED; remove thexai-oauthearly return inprovider_model_ids; pingrok-4.6after mergehermes_cli/model_setup_flows.py— OAuth setup picks models viaprovider_model_ids("xai-oauth")(same path as/model)tests/hermes_cli/test_xai_curated_models.py— preferred membership + call-time merge + pin regressionswebsite/docs/guides/xai-grok-oauth.md(+ zh-Hans) — documentgrok-4.6as default/pinHow to Test
/model(orhermes setupmodel flow) and confirmgrok-4.6is first.~/.hermes/models_dev_cache.json), confirm a newly listed Grok ID appears in the OAuth picker without restarting Hermes.Checklist
Code
fix(scope):,feat(scope):, etc.)scripts/run_tests.shon the touched tests and all tests passscripts/run_tests.shDocumentation & 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
N/A — catalog plumbing; covered by unit tests.