Fix OpenAI Codex contract, SSE parsing, and default xhigh reasoning
This commit is contained in:
parent
007368d586
commit
39087a446d
2 changed files with 330 additions and 11 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue