LocalAI/core/config
Prajwal S Nayak 4d98dd9ce7
feat(image): support response_type in the OpenAI API request (#2347)
* Change response_format type to string to match OpenAI Spec

Signed-off-by: prajwal <prajwalnayak7@gmail.com>

* updated response_type type to interface

Signed-off-by: prajwal <prajwalnayak7@gmail.com>

* feat: correctly parse generic struct

Signed-off-by: mudler <mudler@localai.io>

* add tests

Signed-off-by: mudler <mudler@localai.io>

---------

Signed-off-by: prajwal <prajwalnayak7@gmail.com>
Signed-off-by: mudler <mudler@localai.io>
Co-authored-by: Ettore Di Giacinto <mudler@users.noreply.github.com>
Co-authored-by: mudler <mudler@localai.io>
2024-05-29 14:40:54 +02:00
..
application_config.go feat(ux): Add chat, tts, and image-gen pages to the WebUI (#2222) 2024-05-02 21:14:10 +02:00
backend_config_loader.go refactor: Minor improvements to BackendConfigLoader (#2353) 2024-05-23 22:48:12 +02:00
backend_config_test.go refactor: Minor improvements to BackendConfigLoader (#2353) 2024-05-23 22:48:12 +02:00
backend_config.go feat(image): support response_type in the OpenAI API request (#2347) 2024-05-29 14:40:54 +02:00
config_suite_test.go dependencies(grpcio): bump to fix CI issues (#2362) 2024-05-21 14:33:47 +02:00
config_test.go refactor: Minor improvements to BackendConfigLoader (#2353) 2024-05-23 22:48:12 +02:00