Skip to content

fix(profiles): read model.default key in profile list display - #4160

Merged
teknium1 merged 1 commit into
mainfrom
hermes/hermes-f091e3b8
Mar 31, 2026
Merged

fix(profiles): read model.default key in profile list display#4160
teknium1 merged 1 commit into
mainfrom
hermes/hermes-f091e3b8

Conversation

@teknium1

Copy link
Copy Markdown
Contributor

Salvage of #3896 by @txhno.

_read_config_model() was reading model.get("model") but _save_model_choice() writes to model["default"]. Profile list always showed a blank model name.

Fix: try model.default first, fall back to model.model for compat.

E2E verified — hermes profile list now correctly shows the configured model.

@teknium1
teknium1 merged commit f8e1ee1 into main Mar 31, 2026
4 of 5 checks passed
angelburgosrosado pushed a commit to angelburgosrosado/hermes-agent that referenced this pull request Apr 27, 2026
Co-authored-by: txhno <roshwarrier@gmail.com>
02356abc pushed a commit to 02356abc/hermes-agent that referenced this pull request May 14, 2026
Co-authored-by: txhno <roshwarrier@gmail.com>
gweeteve pushed a commit to gweeteve/hermes-agent that referenced this pull request Jun 2, 2026
Co-authored-by: txhno <roshwarrier@gmail.com>
waefrebeorn pushed a commit to waefrebeorn/slermes that referenced this pull request Jul 2, 2026
Co-authored-by: txhno <roshwarrier@gmail.com>
melon-xf added a commit to melon-xf/hermes-agent that referenced this pull request Sep 3, 2026
Co-authored-by: txhno <roshwarrier@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants