mirror of
https://github.com/openai/codex.git
synced 2026-09-15 12:08:01 +00:00
skip
This commit is contained in:
@@ -48,8 +48,11 @@ impl<T: HttpTransport, A: AuthProvider> ModelsClient<T, A> {
|
||||
|
||||
let separator = if req.url.contains('?') { '&' } else { '?' };
|
||||
req.url = format!("{}{}client_version={client_version}", req.url, separator);
|
||||
|
||||
add_auth_headers(&self.auth, req)
|
||||
if self.auth.account_id().is_some() {
|
||||
add_auth_headers(&self.auth, req)
|
||||
} else {
|
||||
req
|
||||
}
|
||||
};
|
||||
|
||||
let resp = run_with_request_telemetry(
|
||||
|
||||
Reference in New Issue
Block a user