Files
hermes-agent/agent
Teknium 5209ca9796 fix(telegram): recommend clarify buttons only when the session has clarify
Review finding: "Telegram platform hint recommends clarify even when clarify
is unavailable (cron / clarify-disabled)". The clarify sentence was part of
PLATFORM_HINT, so cron jobs delivering to Telegram (cron always disables the
clarify toolset) and profiles with clarify disabled were told to call a tool
they do not have.

PlatformEntry gains platform_hint_tool_notes ({tool: sentence}); the prompt
builder appends a note only when that tool is in the session's
valid_tool_names, which is fixed when the system prompt is built, so the
cached prefix stays stable for the session. Telegram moves its clarify
sentence there. The stock Telegram prompt-surface render is byte-identical
(that surface has clarify).

(cherry picked from commit bc29be1ee75cc4c8ca8a156166a5cd5f7e2b2168)
2026-11-08 22:46:20 -08:00
..
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:28:23 +02:00
2026-10-20 21:04:30 -04:00
2026-10-20 21:04:30 -04:00
2026-10-21 23:05:11 -04:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:36 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-20 22:18:49 -04:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 21:29:48 +02:00
2026-10-09 17:34:38 +02:00
2026-10-08 19:54:07 +02:00
2026-10-21 23:05:11 -04:00