ai-for-java / openai4j

Java client library for OpenAI API
Apache License 2.0
85 stars 35 forks source link

proxyAuthenticator field is not exposed by DefaultOpenAiClient #27

Open Andreas54321 opened 5 months ago

Andreas54321 commented 5 months ago

Is your feature request related to a problem? Please describe. To use the library i need to authenticate to an proxy. The used okHttp client provides a authenticator field for this.

Describe the solution you'd like Please forward the field proxyAuthenticator.

Describe alternatives you've considered Extending DefaultOpenAiClient and instaniating the http client did not work because of too much internal dependencies.

Additional context none