Merge branch 'fixbug_openai' into 'master' (merge request !22)

fix(docreader): add detail parameter for openai interface
This commit is contained in:
wizardchen
2025-08-06 03:54:08 +00:00
+3 -1
View File
@@ -183,7 +183,9 @@ class Caption:
role="user", role="user",
content=[ content=[
Content(type="text", text=self.prompt), Content(type="text", text=self.prompt),
Content(type="image_url", image_url=ImageUrl(url=image_url)), Content(
type="image_url", image_url=ImageUrl(url=image_url, detail="auto")
),
], ],
) )