Fix OpenAI Codex contract, SSE parsing, and default xhigh reasoning

This commit is contained in:
Codex 2026-02-15 20:51:01 +03:00 committed by Chummy
parent 007368d586
commit 39087a446d
2 changed files with 330 additions and 11 deletions

View file

@ -14,7 +14,7 @@ pub const OPENAI_OAUTH_CLIENT_ID: &str = "app_EMoamEEZ73f0CkXaXp7hrann";
pub const OPENAI_OAUTH_AUTHORIZE_URL: &str = "https://auth.openai.com/oauth/authorize";
pub const OPENAI_OAUTH_TOKEN_URL: &str = "https://auth.openai.com/oauth/token";
pub const OPENAI_OAUTH_DEVICE_CODE_URL: &str = "https://auth.openai.com/oauth/device/code";
pub const OPENAI_OAUTH_REDIRECT_URI: &str = "http://127.0.0.1:1455/auth/callback";
pub const OPENAI_OAUTH_REDIRECT_URI: &str = "http://localhost:1455/auth/callback";
#[derive(Debug, Clone)]
pub struct PkceState {