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:
2026-07-06 11:20:32 -06:00
parent af91b89cff
commit fa7eadd08a
7 changed files with 477 additions and 44 deletions
+1 -1
View File
@@ -483,7 +483,7 @@ pub async fn prepare_gcloud_access_token(
let expires_at = Utc::now()
+ Duration::try_seconds(expires_in)
.ok_or_else(|| anyhow!("Failed to parse expires_in of access_token"))?;
set_access_token(client_name, token, expires_at.timestamp())
set_access_token(client_name, token, expires_at.timestamp(), None)
}
Ok(())
}