Fix OpenAI image input schema
All checks were successful
build-and-deploy / build-deploy (push) Successful in 32s

This commit is contained in:
androidlover5842
2026-01-31 05:24:27 +05:30
parent f743d50d7f
commit 7914da0e99

View File

@@ -45,15 +45,13 @@ class OpenAIVisionClient(
),
mapOf(
"type" to "input_image",
"image_url" to mapOf(
"url" to imageUrl,
"image_url" to imageUrl,
"detail" to "high"
)
)
)
)
)
)
val headers = HttpHeaders()
headers.contentType = MediaType.APPLICATION_JSON