Mac: Hermes models (Sol chat, cheap side tasks) and monthly model review
Models, from the Nov 2026 review (Nous Hermes Index, OpenRouter data): - chat: openai/gpt-6.1-sol (user's pick), reasoning high (was ultra) - side tasks (compression, approval, titles, mcp, memory query rewrite, curator, mail monitor) and unpinned cron: z-ai/glm-5.3-flash - subagents: deepseek/deepseek-v4.1-flash - /model aliases: deepseek, haiku agent.reasoning_effort needs --force (hermes-agent #140221), so settings can list keys in hermes_settings_force. `config get` exits 1 for unset keys without a default; that now reads as unset, not a failure. hermes-model-review: monthly cron job on Sol (pinned, high effort, continuity) that redoes this research and sends keep/change recommendations as Ansible keys to Telegram. A script injects the live model setup and 30-day usage into its prompt. hermes_cron_jobs gains model/provider, reasoning_effort and continuity. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
6632729892
commit
a0e49f4670
5 files changed
+103
-11
No files matched your search
@@ -20,6 +20,9 @@
|
||||
{{ [hermes_cli, 'cron', 'create', item.schedule, '--name', item.name, '--deliver', item.deliver]
|
||||
+ (['--script', item.script] if item.script is defined else [])
|
||||
+ (['--no-agent'] if item.no_agent | default(false) else [])
|
||||
+ (['--model', item.model, '--provider', item.provider] if item.model is defined else [])
|
||||
+ (['--reasoning-effort', item.reasoning_effort] if item.reasoning_effort is defined else [])
|
||||
+ (['--continuity'] if item.continuity | default(false) else [])
|
||||
+ ([item.prompt] if item.prompt is defined else []) }}
|
||||
loop: "{{ hermes_cron_jobs }}"
|
||||
loop_control:
|
||||
|
||||
@@ -1,24 +1,27 @@
|
||||
# `hermes config get` prints the value as YAML, so it's compared
|
||||
# structurally; `hermes config set` takes JSON for lists and booleans.
|
||||
# Settings are always set explicitly: for a key that isn't in config.yaml,
|
||||
# `config get` (non-interactive) prints just the default, so "unset" can't be
|
||||
# detected.
|
||||
# `config get` (non-interactive) prints just the default when there is one,
|
||||
# so "unset" can't be detected.
|
||||
- name: Read Hermes settings
|
||||
ansible.builtin.command:
|
||||
argv: ["{{ hermes_cli }}", config, get, "{{ item.key }}"]
|
||||
loop: "{{ hermes_settings | dict2items }}"
|
||||
register: hermes_settings_current
|
||||
changed_when: false
|
||||
# Exit 1 = "Config key not set" (only for keys without a built-in default).
|
||||
failed_when: hermes_settings_current.rc > 1
|
||||
check_mode: false
|
||||
|
||||
- name: Set Hermes settings
|
||||
ansible.builtin.command:
|
||||
argv: >-
|
||||
{{ [hermes_cli, 'config', 'set', item.item.key,
|
||||
item.item.value if item.item.value is string else item.item.value | to_json] }}
|
||||
{{ [hermes_cli, 'config', 'set']
|
||||
+ (['--force'] if item.item.key in hermes_settings_force | default([]) else [])
|
||||
+ [item.item.key, item.item.value if item.item.value is string else item.item.value | to_json] }}
|
||||
loop: "{{ hermes_settings_current.results }}"
|
||||
loop_control:
|
||||
label: "{{ item.item.key }} = {{ item.item.value | to_json }}"
|
||||
when: (item.stdout | from_yaml) != item.item.value
|
||||
when: (none if item.rc == 1 else item.stdout | from_yaml) != item.item.value
|
||||
# The dashboard is a separate process with its own copy of the settings.
|
||||
notify: [Restart Hermes gateway, Restart Hermes dashboard]
|
||||
Reference in new issue
Block a user