Added history in streaming convo + fixed little bug with message margins on loading state

This commit is contained in:
Alex
2023-05-31 23:47:16 +01:00
parent 6c95d8b13e
commit f8910ba136
5 changed files with 24 additions and 14 deletions

View File

@@ -79,11 +79,7 @@ export default function Conversation() {
<Fragment key={index}>
<ConversationBubble
ref={endMessageRef}
className={`${
index === queries.length - 1 && status === 'loading'
? 'mb-24'
: 'mb-7'
}`}
className={'mb-7'}
key={`${index}QUESTION`}
message={query.prompt}
type="QUESTION"