mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
model-provider: route model discovery through HTTP client factory (#31361)
This commit is contained in:
1 parent
555aa79d5a
commit
5892c7b69d
36 files changed
+658
-131
No files matched your search
@@ -2003,7 +2003,10 @@ async fn run_debug_models_command(
|
||||
AuthManager::shared_from_config(&config, /*enable_codex_api_key_env*/ true).await;
|
||||
let models_manager = build_models_manager(&config, auth_manager);
|
||||
models_manager
|
||||
.raw_model_catalog(RefreshStrategy::OnlineIfUncached)
|
||||
.raw_model_catalog(
|
||||
RefreshStrategy::OnlineIfUncached,
|
||||
config.http_client_factory(),
|
||||
)
|
||||
.await
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user