client icon indicating copy to clipboard operation
client copied to clipboard

Allows to change the HTTP client in the factory

Open GromNaN opened this issue 1 year ago • 0 comments

Symfony integration would be complete if the symfony/http-client could be used. Instead of duplicating the OpenAI::client() factory, I think it is more simple to allow a custom instance of Psr\Http\Client\ClientInterface. The Symfony PSR-18 client would be used.

GromNaN avatar Mar 03 '23 23:03 GromNaN