feat: Implemented OAuth support for OpenAI models via Codex endpoints
CI / All (ubuntu-latest) (push) Failing after 24s
CI / All (macos-latest) (push) Has been cancelled
CI / All (windows-latest) (push) Has been cancelled

This commit is contained in:
Dark-Alex-17 committed 2026-07-06 11:20:32 -06:00
1 parent af91b89cff
commit fa7eadd08a
7 files changed
+477 -44

No files matched your search

+2 -2
View File
@@ -232,8 +232,8 @@ where
.map(|value| value.to_string());
let is_event_stream = content_type
.as_deref()
.map(|ct| ct.starts_with("text/event-stream"))
.unwrap_or(false);
.map(|ct| ct.is_empty() || ct.starts_with("text/event-stream"))
.unwrap_or(true);
if !is_event_stream {
let header_value = content_type.unwrap_or_default();
let text = res.text().await?;