model-provider: route model discovery through HTTP client factory (#31361)

This commit is contained in:
Michael Bolin authored and GitHub committed 2026-07-09 02:32:10 +00:00
1 parent 555aa79d5a
commit 5892c7b69d
36 files changed
+658 -131

No files matched your search

+4 -1
View File
@@ -244,7 +244,10 @@ impl TurnContext {
/*developer_instructions*/ None,
);
let available_models = models_manager
.list_models(RefreshStrategy::OnlineIfUncached)
.list_models(
RefreshStrategy::OnlineIfUncached,
config.http_client_factory(),
)
.await;
Self {