Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

ep: Make --repetitions work with Anthropic and OpenAI batches (#50789)

Oleksiy Syvokon2991b0593cb4
diff --git a/crates/edit_prediction_cli/src/predict.rs b/crates/edit_prediction_cli/src/predict.rs
index bd89d54ab37..94e28d00da2 100644
--- a/crates/edit_prediction_cli/src/predict.rs
+++ b/crates/edit_prediction_cli/src/predict.rs
@@ -390,7 +390,7 @@ async fn predict_anthropic(
.await?
else {
// Request stashed for batched processing
- return Ok(());
+ continue;
};
let actual_output = response
@@ -464,7 +464,7 @@ async fn predict_openai(
.await?
else {
// Request stashed for batched processing
- return Ok(());
+ continue;
};
let actual_output = response