mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:50:52 +00:00
Update codex-rs/core/src/config.rs
Co-authored-by: Michael Bolin <mbolin@openai.com>
This commit is contained in:
co-authored by
Michael Bolin
parent
d938bb7db5
commit
5bdce60af0
@@ -535,7 +535,7 @@ impl Config {
|
||||
let mut model_providers = built_in_model_providers();
|
||||
// Merge user-defined providers into the built-in list.
|
||||
for (key, provider) in cfg.model_providers.into_iter() {
|
||||
// Override the built-in provider if the same key is present ib config.toml
|
||||
// Override the built-in provider if the same key is present in config.toml
|
||||
model_providers.insert(key, provider);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user