fix: Виправити структуру запиту Helion до Router (context на верхньому рівні)
This commit is contained in:
@@ -892,12 +892,11 @@ async def helion_telegram_webhook(update: TelegramUpdate):
|
|||||||
"username": username,
|
"username": username,
|
||||||
"chat_id": chat_id,
|
"chat_id": chat_id,
|
||||||
},
|
},
|
||||||
"payload": {
|
"context": {
|
||||||
"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,
|
# RBAC context will be injected by Router
|
||||||
}
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user