-
Notifications
You must be signed in to change notification settings - Fork 73
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is it possible to use a Proxy-Server? #74
Comments
Hello, @aurora!
OpenAIClientOptions options = new()
{
Transport = new HttpClientPipelineTransport(myHttpClient),
};
OpenAIClient client = new(options); |
Hi @trrwilson, Oh, I somehow overlooked this option. It works perfectly. Many thanks for your quick reply and help! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wonder if there is an easy way to use a proxy server for connecting to the API. In Azure.AI.OpenAI, it is possible via HttpClientTransport in Azure.Core.Pipeline, and other libraries (such as Semantic Kernel) allow specifying a custom HttpClient instance. But I can't find a way to use a similar method with this library.
The text was updated successfully, but these errors were encountered: