fix(codex-rs): use codex-mini-latest as default (#1164)

This commit is contained in:
Fouad Matin
2025-05-29 16:55:19 -07:00
committed by GitHub
parent 92957c47fb
commit 828e2062c2
4 changed files with 7 additions and 7 deletions

View File

@@ -23,7 +23,7 @@ pub struct CliConfigOverrides {
/// parse as JSON, the raw string is used as a literal.
///
/// Examples:
/// - `-c model="o4-mini"`
/// - `-c model="o3"`
/// - `-c 'sandbox_permissions=["disk-full-read-access"]'`
/// - `-c shell_environment_policy.inherit=all`
#[arg(
@@ -61,7 +61,7 @@ impl CliConfigOverrides {
// Attempt to parse as JSON. If that fails, treat it as a raw
// string. This allows convenient usage such as
// `-c model=o4-mini` without the quotes.
// `-c model=o3` without the quotes.
let value: Value = match parse_toml_value(value_str) {
Ok(v) => v,
Err(_) => Value::String(value_str.to_string()),