Skip to content

Commit 6da0353

Browse files
committed
Fix OpenAI image inputs
1 parent 49e40eb commit 6da0353

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/chat.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ async def hey(self, ctx: commands.Context):
321321
if m.author_display_name_with_id
322322
else m.clean_content,
323323
},
324-
*({"type": "image_url", "image_url": {"url": url}} for url in m.image_urls),
324+
*({"type": "input_image", "image_url": url} for url in m.image_urls),
325325
],
326326
}
327327
for m in history

0 commit comments

Comments
 (0)