v0.1.3-rc.4正式版

This commit is contained in:
wisdgod
2025-01-27 14:03:46 +08:00
parent 76d5b55b5a
commit c58f2697f0
41 changed files with 1956 additions and 964 deletions

View File

@@ -125,7 +125,6 @@ impl ErrorResponse {
pub enum StreamError {
ChatError(ChatError),
DataLengthLessThan5,
EmptyMessage,
}
impl std::fmt::Display for StreamError {
@@ -133,7 +132,6 @@ impl std::fmt::Display for StreamError {
match self {
StreamError::ChatError(error) => write!(f, "{}", error.error.code),
StreamError::DataLengthLessThan5 => write!(f, "data length less than 5"),
StreamError::EmptyMessage => write!(f, "empty message"),
}
}
}