ai: fix text response

This commit is contained in:
thedragonsinn
2025-05-03 21:19:48 +05:30
parent 42cc5c4f26
commit aa580b3be7

View File

@@ -77,7 +77,7 @@ def get_response_content(
for part in parts:
if part.text:
text += part + "\n"
text += f"{part.text}\n"
if part.inline_data:
image_data = io.BytesIO(part.inline_data.data)
image_data.name = "photo.jpg"