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 edc6fe6 commit 731c64dCopy full SHA for 731c64d
src/v1/api.rs
@@ -136,6 +136,9 @@ impl OpenAIClient {
136
let url = format!("{}/{}", self.api_endpoint, path);
137
let client = Client::builder();
138
139
+ #[cfg(feature = "rustls")]
140
+ let client = client.use_rustls_tls();
141
+
142
let client = if let Some(timeout) = self.timeout {
143
client.timeout(std::time::Duration::from_secs(timeout))
144
} else {
0 commit comments