image generation endpoint response_format
does not match OpenAI spec
#2299
Labels
confirmed
enhancement
New feature or request
up for grabs
Tickets that no-one is currently working on
LocalAI version:
LocalAI version: v2.15.0 (f69de3b)
Environment, CPU architecture, OS, and Version:
Describe the bug
LocalAI does not accept a string for
response_format
when calling image generation. As per OpenAI's spec, this is a string that is eitherurl
orb64_json
.To Reproduce
Expected behavior
LocalAI accepts
response_format
as a string per OpenAI specs.Logs
Additional context
The text was updated successfully, but these errors were encountered: