mirror of
https://github.com/openai/codex.git
synced 2026-06-02 19:31:59 +00:00
codex: refresh remote model fixture in selector integration test
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user