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.

In error text of cloud LLM API: `completion failed` -> `request failed` (#29888)

Michael Sloanf4e9ea3cd8f3
diff --git a/crates/language_models/src/provider/cloud.rs b/crates/language_models/src/provider/cloud.rs
index 75ea219fa55..76f38fed71d 100644
--- a/crates/language_models/src/provider/cloud.rs
+++ b/crates/language_models/src/provider/cloud.rs
@@ -645,7 +645,7 @@ impl CloudLanguageModel {
}
#[derive(Debug, Error)]
-#[error("cloud language model completion failed with status {status}: {body}")]
+#[error("cloud language model request failed with status {status}: {body}")]
struct ApiError {
status: StatusCode,
body: String,