mirror of
https://github.com/openai/codex.git
synced 2026-11-17 14:58:36 +00:00
make model optional in config (#7769)
- Make Config.model optional and centralize default-selection logic in ModelsManager, including a default_model helper (with codex-auto-balanced when available) so sessions now carry an explicit chosen model separate from the base config. - Resolve `model` once in `core` and `tui` from config. Then store the state of it on other structs. - Move refreshing models to be before resolving the default model
This commit is contained in:
1 parent
8a71f8b634
commit
cb9a189857
44 files changed
+838
-429
No files matched your search
@@ -140,7 +140,8 @@ impl EventProcessor for EventProcessorWithHumanOutput {
|
||||
VERSION
|
||||
);
|
||||
|
||||
let mut entries = create_config_summary_entries(config);
|
||||
let mut entries =
|
||||
create_config_summary_entries(config, session_configured_event.model.as_str());
|
||||
entries.push((
|
||||
"session id",
|
||||
session_configured_event.session_id.to_string(),
|
||||
|
||||
Reference in new issue
Block a user