Skip to content

Commit eca56c0

Browse files
Algorithm5838github-actions[bot]
authored andcommitted
fix: image url to base64 conversion
1 parent ea6fb6f commit eca56c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/open_webui/utils/middleware.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2057,7 +2057,7 @@ async def convert_url_images_to_base64(form_data):
20572057
continue
20582058

20592059
try:
2060-
base64_data = await asyncio.to_thread(get_image_base64_from_url, image_url)
2060+
base64_data = await get_image_base64_from_url(image_url)
20612061
new_content.append(
20622062
{
20632063
'type': 'image_url',

0 commit comments

Comments
 (0)