feat: add OpenAI Codex CLI provider (#6263)
Signed-off-by: RamXX <ramxx@ramirosalas.com> Co-authored-by: Michael Neale <michael.neale@gmail.com>
This commit is contained in:
@@ -18,7 +18,10 @@ pub enum ConfigError {
|
||||
static MODEL_SPECIFIC_LIMITS: Lazy<Vec<(&'static str, usize)>> = Lazy::new(|| {
|
||||
vec![
|
||||
// openai
|
||||
("gpt-5", 272_000),
|
||||
("gpt-5.2-codex", 400_000), // auto-compacting context
|
||||
("gpt-5.2", 400_000), // auto-compacting context
|
||||
("gpt-5.1-codex-max", 256_000),
|
||||
("gpt-5.1-codex-mini", 256_000),
|
||||
("gpt-4-turbo", 128_000),
|
||||
("gpt-4.1", 1_000_000),
|
||||
("gpt-4-1", 1_000_000),
|
||||
|
||||
Reference in New Issue
Block a user