mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-08-13 17:16:12 +00:00
Deduplicate the composed JSON payload construction — both the group and DM branches build the identical json.dumps result, so hoist it above the if/else to match the pattern already used in send().