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 15:04:34 -06:00 committed by GitHub
parent 161f6dfcb6
commit f4e9ea3cd8
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

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,