fix: use o4-mini as the default model (#1135)
Rollback of https://github.com/openai/codex/pull/972.
This commit is contained in:
@@ -32,7 +32,7 @@ The `config.toml` file supports the following options:
|
|||||||
The model that Codex should use.
|
The model that Codex should use.
|
||||||
|
|
||||||
```toml
|
```toml
|
||||||
model = "o3" # overrides the default of "codex-mini-latest"
|
model = "o3" # overrides the default of "o4-mini"
|
||||||
```
|
```
|
||||||
|
|
||||||
### model_provider
|
### model_provider
|
||||||
|
|||||||
@@ -3,7 +3,7 @@ use std::time::Duration;
|
|||||||
use env_flags::env_flags;
|
use env_flags::env_flags;
|
||||||
|
|
||||||
env_flags! {
|
env_flags! {
|
||||||
pub OPENAI_DEFAULT_MODEL: &str = "codex-mini-latest";
|
pub OPENAI_DEFAULT_MODEL: &str = "o4-mini";
|
||||||
pub OPENAI_API_BASE: &str = "https://api.openai.com/v1";
|
pub OPENAI_API_BASE: &str = "https://api.openai.com/v1";
|
||||||
|
|
||||||
/// Fallback when the provider-specific key is not set.
|
/// Fallback when the provider-specific key is not set.
|
||||||
|
|||||||
Reference in New Issue
Block a user