This commit is contained in:
Timothy Jaeryang Baek
2026-01-06 02:19:57 +04:00
parent 2543252bb0
commit 5921a19519
4 changed files with 160 additions and 59 deletions

View File

@@ -1198,6 +1198,8 @@ async def process_chat_payload(request, form_data, user, metadata, model):
"__oauth_token__": oauth_token,
"__request__": request,
"__model__": model,
"__chat_id__": metadata.get("chat_id"),
"__message_id__": metadata.get("message_id"),
}
# Initialize events to store additional event to be sent to the client
# Initialize contexts and citation