mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +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
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user