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:
Ramiro Salas
2025-12-28 22:01:21 -08:00
committed by GitHub
parent 614ba5bce1
commit 31eaa47209
8 changed files with 1083 additions and 8 deletions
+4 -1
View File
@@ -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),