mirror of
https://github.com/wisdgod/cursor-api.git
synced 2025-10-06 23:22:48 +08:00
v0.1.3-rc.4正式版
This commit is contained in:
@@ -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"),
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user