Fix Helion system_prompt: correct payload.context structure

Changed from nested 'payload': {'context': {
to proper 'payload': { 'context': { structure
so Router can extract system_prompt correctly
This commit is contained in:
Ivan Tytar
2025-11-17 00:30:18 +01:00
parent 90168f1bbe
commit 6dc35500e5

View File

@@ -463,11 +463,12 @@ async def helion_telegram_webhook(update: TelegramUpdate):
"username": username, "username": username,
"chat_id": chat_id, "chat_id": chat_id,
}, },
"payload": {"context": { "payload": {
"agent_name": HELION_NAME, "context": {
"system_prompt": HELION_SYSTEM_PROMPT, "agent_name": HELION_NAME,
"memory": memory_context, "system_prompt": HELION_SYSTEM_PROMPT,
}, "memory": memory_context,
}
}, },
} }