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:
@@ -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": {
|
||||||
|
"context": {
|
||||||
"agent_name": HELION_NAME,
|
"agent_name": HELION_NAME,
|
||||||
"system_prompt": HELION_SYSTEM_PROMPT,
|
"system_prompt": HELION_SYSTEM_PROMPT,
|
||||||
"memory": memory_context,
|
"memory": memory_context,
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user