fix: Виправити структуру запиту Helion до Router (context на верхньому рівні)

This commit is contained in:
Apple
2025-11-17 13:23:41 -08:00
parent 8c3c0726b4
commit 36c35cab57

View File

@@ -892,12 +892,11 @@ async def helion_telegram_webhook(update: TelegramUpdate):
"username": username,
"chat_id": chat_id,
},
"payload": {
"context": {
"agent_name": HELION_NAME,
"system_prompt": HELION_SYSTEM_PROMPT,
"memory": memory_context,
}
"context": {
"agent_name": HELION_NAME,
"system_prompt": HELION_SYSTEM_PROMPT,
"memory": memory_context,
# RBAC context will be injected by Router
},
}