We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b326415 commit 8b9b35aCopy full SHA for 8b9b35a
openai/openai.go
@@ -187,7 +187,7 @@ func New(opts ...Option) (*Client, error) {
187
if err != nil {
188
return nil, fmt.Errorf("can't connect to the proxy: %s", err)
189
}
190
- tr.Dial = dialer.Dial
+ tr.DialContext = dialer.(proxy.ContextDialer).DialContext
191
192
193
// Set the HTTP client to use the default header transport with the specified headers.
0 commit comments