refactors the conversation model from singular messages to queries

consisting of prompt and response
This commit is contained in:
ajaythapliyal
2023-03-05 16:29:10 +05:30
parent 780f5893de
commit 19f807b6c4
5 changed files with 64 additions and 36 deletions

View File

@@ -8,7 +8,7 @@ const ConversationBubble = forwardRef<
{
message: string;
type: MESSAGE_TYPE;
className: string;
className?: string;
}
>(function ConversationBubble({ message, type, className }, ref) {
return (