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

This error is used for more requests than completion requests

Release Notes:

- N/A
This commit is contained in:
Michael Sloan
2025-05-04 21:04:34 +00:00
committed by GitHub
parent 161f6dfcb6
commit f4e9ea3cd8
+1 -1
View File
@@ -645,7 +645,7 @@ impl CloudLanguageModel {
} }
#[derive(Debug, Error)] #[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 { struct ApiError {
status: StatusCode, status: StatusCode,
body: String, body: String,