hermes-agent/scripts
Teknium d0cc6a14d7
fix: Anthropic 'sensitive' stop reason handling + WhatsApp echo loop prevention
Two fixes inspired by OpenClaw v2026.3.28:

1. Anthropic content policy (sensitive stop_reason):
   When Anthropic blocks a response with stop_reason='sensitive', the
   adapter now maps it to finish_reason='content_filter' and injects a
   user-facing message instead of crashing on empty content.

2. WhatsApp echo loop:
   The WhatsApp bridge now sends fromMe flag on message events, and the
   Python adapter filters out self-sent messages. Prevents an infinite
   loop where the bot processes its own outbound replies as new inbound.

9 new tests (6 anthropic + 3 whatsapp).
2026-03-30 01:16:38 -07:00
..
whatsapp-bridge fix: Anthropic 'sensitive' stop reason handling + WhatsApp echo loop prevention 2026-03-30 01:16:38 -07:00
discord-voice-doctor.py feat(voice): add discord-voice-doctor diagnostic script 2026-03-15 05:20:17 -07:00
hermes-gateway fix: prevent systemd restart storm on gateway connection failure 2026-03-21 09:26:39 -07:00
install.cmd feat: Windows native support via Git Bash 2026-03-02 22:03:29 -08:00
install.ps1 chore: remove all remaining mini-swe-agent references 2026-03-24 08:19:23 -07:00
install.sh refactor: remove mini-swe-agent dependency — inline Docker/Modal backends (#2804) 2026-03-24 07:30:25 -07:00
kill_modal.sh refactor: replace swe-rex with native Modal SDK for Modal backend (#3538) 2026-03-28 11:21:44 -07:00
release.py feat: add versioning infrastructure and release script 2026-03-12 01:35:47 -07:00
sample_and_compress.py Cleanup time! 2026-02-20 23:23:32 -08:00