v0.1.3-rc.3

This commit is contained in:
wisdgod
2025-01-14 09:13:13 +08:00
parent 732cfbc58e
commit 061156fb79
36 changed files with 3585 additions and 787 deletions

View File

@@ -1,4 +1,4 @@
use super::aiserver::v1::throw_error_check_request::Error as ErrorType;
use super::aiserver::v1::error_details::Error as ErrorType;
use reqwest::StatusCode;
use serde::{Deserialize, Serialize};
@@ -65,7 +65,6 @@ impl ChatError {
Some(error) => match error {
ErrorType::Unspecified => 500,
ErrorType::BadApiKey
| ErrorType::BadUserApiKey
| ErrorType::InvalidAuthId
| ErrorType::AuthTokenNotFound
| ErrorType::AuthTokenExpired