Skip to content

Commit 14b07e8

Browse files
authored
Merge pull request #108 from desprit/main
fix: route all traffic through proxy
2 parents 0f03efe + 7beb559 commit 14b07e8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/v1/api.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ impl OpenAIClient {
118118
};
119119

120120
let client = if let Some(proxy) = &self.proxy {
121-
client.proxy(reqwest::Proxy::http(proxy).unwrap())
121+
client.proxy(reqwest::Proxy::all(proxy).unwrap())
122122
} else {
123123
client
124124
};

0 commit comments

Comments
 (0)