commit 684241f62a02cf36480fadbd5674b88403506f16
parent f96313f88dd727f71ac8182f09fa65ad235898cc
Author: William Casarin <jb55@jb55.com>
Date: Wed, 25 Feb 2026 11:12:09 -0800
dave: update default codex model to gpt-5.3-codex
Consolidate the codex model default to use AiProvider::Codex.default_model()
as the single source of truth.
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/crates/notedeck_dave/src/config.rs b/crates/notedeck_dave/src/config.rs
@@ -63,7 +63,7 @@ impl AiProvider {
AiProvider::OpenAI => "gpt-5.2",
AiProvider::Anthropic => "claude-sonnet-4-20250514",
AiProvider::Ollama => "hhao/qwen2.5-coder-tools:latest",
- AiProvider::Codex => "gpt-5.2-codex",
+ AiProvider::Codex => "gpt-5.3-codex",
}
}
@@ -247,7 +247,7 @@ impl Default for ModelConfig {
.unwrap_or_else(|| match backend {
BackendType::OpenAI => "gpt-4.1-mini".to_string(),
BackendType::Claude => "claude-sonnet-4.5".to_string(),
- BackendType::Codex => "gpt-5.2-codex".to_string(),
+ BackendType::Codex => AiProvider::Codex.default_model().to_string(),
BackendType::Remote => String::new(),
});