This commit is contained in:
Timothy Jaeryang Baek
2025-09-23 03:19:36 -04:00
parent f1bbf3a91e
commit c55afc4255
2 changed files with 25 additions and 1 deletions

View File

@@ -2584,7 +2584,7 @@ async def process_chat_response(
):
file_url = get_file_url_from_base64(
request,
f"data:{item.get('mimeType')};base64,{item.get('data', '')}",
f"data:{item.get('mimeType')};base64,{item.get('data', item.get('blob', ''))}",
{
"chat_id": metadata.get(
"chat_id", None