File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -9,7 +9,6 @@ use crate::config_types::ShellEnvironmentPolicy;
9
9
use crate :: config_types:: ShellEnvironmentPolicyToml ;
10
10
use crate :: config_types:: Tui ;
11
11
use crate :: config_types:: UriBasedFileOpener ;
12
- use crate :: flags:: OPENAI_DEFAULT_MODEL ;
13
12
use crate :: model_family:: ModelFamily ;
14
13
use crate :: model_family:: find_family_for_model;
15
14
use crate :: model_provider_info:: ModelProviderInfo ;
@@ -26,6 +25,8 @@ use tempfile::NamedTempFile;
26
25
use toml:: Value as TomlValue ;
27
26
use toml_edit:: DocumentMut ;
28
27
28
+ const OPENAI_DEFAULT_MODEL : & str = "gpt-5" ;
29
+
29
30
/// Maximum number of bytes of the documentation that will be embedded. Larger
30
31
/// files are *silently truncated* to this size so we do not take up too much of
31
32
/// the context window.
Original file line number Diff line number Diff line change @@ -3,7 +3,6 @@ use std::time::Duration;
3
3
use env_flags:: env_flags;
4
4
5
5
env_flags ! {
6
- pub OPENAI_DEFAULT_MODEL : & str = "codex-mini-latest" ;
7
6
pub OPENAI_API_BASE : & str = "https://api.openai.com/v1" ;
8
7
9
8
/// Fallback when the provider-specific key is not set.
You can’t perform that action at this time.
0 commit comments