diff --git a/codex-rs/core/tests/suite/model_runtime_selectors.rs b/codex-rs/core/tests/suite/model_runtime_selectors.rs index 8f2136cf79..2752db23b9 100644 --- a/codex-rs/core/tests/suite/model_runtime_selectors.rs +++ b/codex-rs/core/tests/suite/model_runtime_selectors.rs @@ -56,7 +56,7 @@ async fn wait_for_model_available(manager: &SharedModelsManager, slug: &str) -> let deadline = Instant::now() + Duration::from_secs(2); loop { if let Some(model) = manager - .list_models(RefreshStrategy::OnlineIfUncached) + .list_models(RefreshStrategy::Online) .await .iter() .find(|model| model.model == slug)