mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-01 08:21:50 +08:00
Cherry-picked from PR #1124 with an important fix: the original future-based response capture resolved on the FIRST send() call (which was often a notification, not the agent response). Replaced with an accumulator pattern that waits for processing to complete and returns the LAST send() — the actual agent response. Changes: - gateway/platforms/webhook.py: new adapter with accumulator pattern - gateway/config.py: Platform.WEBHOOK enum + env var handling - gateway/run.py: factory registration + auth bypass - gateway/session.py: webhook chat_id session isolation (like WhatsApp) - docs/integrations/miniverse.md: integration guide