mirror of
https://github.com/NousResearch/hermes-agent.git
synced 2026-05-18 04:41:56 +00:00
fix(gateway): add chat_id to hook_ctx for message source tracking
This commit is contained in:
parent
80c4b27437
commit
dd1d4e9c5d
1 changed files with 1 additions and 0 deletions
|
|
@ -7543,6 +7543,7 @@ class GatewayRunner:
|
|||
hook_ctx = {
|
||||
"platform": source.platform.value if source.platform else "",
|
||||
"user_id": source.user_id,
|
||||
"chat_id": source.chat_id or "",
|
||||
"session_id": session_entry.session_id,
|
||||
"message": message_text[:500],
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue