mirror of
https://github.com/openai/codex.git
synced 2026-11-17 14:58:36 +00:00
fix: change OPENAI_DEFAULT_MODEL to "gpt-5" (#1943)
This commit is contained in:
1 parent
09adbf9132
commit
107d2ce4e7
2 files changed
+2
-2
No files matched your search
@@ -9,7 +9,6 @@ use crate::config_types::ShellEnvironmentPolicy;
|
||||
use crate::config_types::ShellEnvironmentPolicyToml;
|
||||
use crate::config_types::Tui;
|
||||
use crate::config_types::UriBasedFileOpener;
|
||||
use crate::flags::OPENAI_DEFAULT_MODEL;
|
||||
use crate::model_family::ModelFamily;
|
||||
use crate::model_family::find_family_for_model;
|
||||
use crate::model_provider_info::ModelProviderInfo;
|
||||
@@ -26,6 +25,8 @@ use tempfile::NamedTempFile;
|
||||
use toml::Value as TomlValue;
|
||||
use toml_edit::DocumentMut;
|
||||
|
||||
const OPENAI_DEFAULT_MODEL: &str = "gpt-5";
|
||||
|
||||
/// Maximum number of bytes of the documentation that will be embedded. Larger
|
||||
/// files are *silently truncated* to this size so we do not take up too much of
|
||||
/// the context window.
|
||||
|
||||
Reference in new issue
Block a user