mirror of
https://github.com/foss42/apidash.git
synced 2025-12-03 19:39:25 +08:00
tests: add chat model tests(cv: 100)
This commit is contained in:
@@ -18,18 +18,4 @@ class ChatResponse {
|
||||
messageType: messageType ?? this.messageType,
|
||||
);
|
||||
}
|
||||
|
||||
@override
|
||||
String toString() =>
|
||||
'ChatResponse(content: $content, messageType: $messageType)';
|
||||
|
||||
@override
|
||||
bool operator ==(covariant ChatResponse other) {
|
||||
if (identical(this, other)) return true;
|
||||
|
||||
return other.content == content && other.messageType == messageType;
|
||||
}
|
||||
|
||||
@override
|
||||
int get hashCode => content.hashCode ^ messageType.hashCode;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user