client
client copied to clipboard
Allows to change the HTTP client in the factory
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.