mirror of
https://github.com/openai/codex.git
synced 2026-10-18 17:18:52 +00:00
Fix model provider lookup for TUI history (#49171)
Read `model_provider` from the effective configuration's nested `config` field in `history_model_provider`, retaining the `openai` fallback. GitOrigin-RevId: 06a8b3da1b499e673f80b8827951020c469c3970
This commit is contained in:
@@ -58,6 +58,7 @@ impl AppServerSession {
|
||||
.await?
|
||||
.map(|config| {
|
||||
config
|
||||
.config
|
||||
.model_provider
|
||||
.unwrap_or_else(|| "openai".to_string())
|
||||
}))
|
||||
|
||||
Reference in New Issue
Block a user