Formatting and Client changes (#2247)

This commit is contained in:
Dev Khant
2025-02-23 00:39:26 +05:30
committed by GitHub
parent 17887b5959
commit c42934b7fb
9 changed files with 50 additions and 100 deletions

View File

@@ -55,8 +55,11 @@ def get_image_description(image_url):
{
"role": "user",
"content": [
{"type": "text", "text": "Provide a description of the image and do not include any additional text."},
{"type": "image_url", "image_url": {"url": image_url}}
{
"type": "text",
"text": "Provide a description of the image and do not include any additional text.",
},
{"type": "image_url", "image_url": {"url": image_url}},
],
},
],