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:
@@ -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,
|
||||||
|
|||||||
Reference in New Issue
Block a user