This repository was archived by the owner on May 6, 2026. It is now read-only.
Commit 847aa36
configure-llm: let the user override the model ID during setup
The Linux / macOS interactive prompt accepted provider + API key but
silently used defaults.json's default_model without ever asking the user.
That shipped "nousresearch/hermes-3-llama-3.1-8b" as the OpenRouter
default for every user — an uncommon choice that forces them to edit
~/.hermes/config.yaml after install just to pick a real model. Windows
already showed an editable Model field per provider; now Linux / macOS
match.
Behavior:
- Bundled provider (openrouter/openai/anthropic): prompt "Model ID [<default>]: "
— Enter accepts default, any string overrides.
- Custom endpoint: prompt is required (no default to fall back to) and
whitespace-stripped. Loops until non-empty.
No whitelist / validation — both Hermes and OpenClaw surface a clear
"Unknown model" error at runtime if the id isn't recognized.
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent c8bfaf1 commit 847aa36
1 file changed
Lines changed: 25 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
| 46 | + | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | | - | |
| 50 | + | |
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
59 | 59 | | |
60 | 60 | | |
61 | 61 | | |
62 | | - | |
| 62 | + | |
63 | 63 | | |
64 | 64 | | |
65 | 65 | | |
66 | 66 | | |
67 | | - | |
| 67 | + | |
68 | 68 | | |
69 | 69 | | |
70 | 70 | | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
71 | 90 | | |
72 | 91 | | |
73 | 92 | | |
| |||
0 commit comments