Repository navigation
Commit 8c12290
fix(contracts): give Hermes a default model for text generation
Hermes had no DEFAULT_MODEL_BY_PROVIDER entry, so a Hermes-only install
fell through to the Codex text-generation slug (gpt-5.6-luna). The
adapter forwards any non-sentinel id to session/set_model, which the
real CLI rejects, breaking generated titles, commit messages, PR text,
and branch names.
Mirrors Grok: the entry is the product slug the adapter already treats
as "keep the session's configured model" and skips set_model for.
Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>1 parent a54fe4e commit 8c12290
2 files changed
Lines changed: 25 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
741 | 741 | | |
742 | 742 | | |
743 | 743 | | |
| 744 | + | |
| 745 | + | |
| 746 | + | |
| 747 | + | |
| 748 | + | |
| 749 | + | |
| 750 | + | |
| 751 | + | |
| 752 | + | |
| 753 | + | |
| 754 | + | |
| 755 | + | |
| 756 | + | |
| 757 | + | |
| 758 | + | |
| 759 | + | |
| 760 | + | |
| 761 | + | |
| 762 | + | |
| 763 | + | |
| 764 | + | |
744 | 765 | | |
745 | 766 | | |
746 | 767 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
131 | 131 | | |
132 | 132 | | |
133 | 133 | | |
| 134 | + | |
134 | 135 | | |
135 | 136 | | |
136 | 137 | | |
| |||
153 | 154 | | |
154 | 155 | | |
155 | 156 | | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
156 | 160 | | |
157 | 161 | | |
158 | 162 | | |
| |||
0 commit comments