feat(chatgpt_codex): add gpt-5.5 to known models (#9292)
Signed-off-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
@@ -45,7 +45,7 @@ const OAUTH_TIMEOUT_SECS: u64 = 300;
|
|||||||
const HTML_AUTO_CLOSE_TIMEOUT_MS: u64 = 2000;
|
const HTML_AUTO_CLOSE_TIMEOUT_MS: u64 = 2000;
|
||||||
|
|
||||||
const CHATGPT_CODEX_PROVIDER_NAME: &str = "chatgpt_codex";
|
const CHATGPT_CODEX_PROVIDER_NAME: &str = "chatgpt_codex";
|
||||||
pub const CHATGPT_CODEX_DEFAULT_MODEL: &str = "gpt-5.3-codex";
|
pub const CHATGPT_CODEX_DEFAULT_MODEL: &str = "gpt-5.5";
|
||||||
|
|
||||||
#[derive(Debug)]
|
#[derive(Debug)]
|
||||||
pub struct ChatGptCodexModelAttrs {
|
pub struct ChatGptCodexModelAttrs {
|
||||||
@@ -54,6 +54,10 @@ pub struct ChatGptCodexModelAttrs {
|
|||||||
}
|
}
|
||||||
|
|
||||||
pub const CHATGPT_CODEX_KNOWN_MODELS: &[ChatGptCodexModelAttrs] = &[
|
pub const CHATGPT_CODEX_KNOWN_MODELS: &[ChatGptCodexModelAttrs] = &[
|
||||||
|
ChatGptCodexModelAttrs {
|
||||||
|
name: "gpt-5.5",
|
||||||
|
reasoning_levels: &["low", "medium", "high", "xhigh"],
|
||||||
|
},
|
||||||
ChatGptCodexModelAttrs {
|
ChatGptCodexModelAttrs {
|
||||||
name: "gpt-5.4",
|
name: "gpt-5.4",
|
||||||
reasoning_levels: &["low", "medium", "high", "xhigh"],
|
reasoning_levels: &["low", "medium", "high", "xhigh"],
|
||||||
|
|||||||
Reference in New Issue
Block a user