File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
frontend/src/app/dashboard/chat/[id] Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -264,6 +264,19 @@ export default function ChatPage({ params }: { params: { id: string } }) {
264
264
</ div >
265
265
)
266
266
) }
267
+ < div className = "flex justify-start" >
268
+ { isLoading &&
269
+ processedMessages [ processedMessages . length - 1 ] ?. role !=
270
+ "assistant" && (
271
+ < div className = "max-w-[80%] rounded-lg px-4 py-2 bg-accent text-accent-foreground" >
272
+ < div className = "flex items-center space-x-1" >
273
+ < div className = "w-2 h-2 rounded-full bg-primary animate-bounce" />
274
+ < div className = "w-2 h-2 rounded-full bg-primary animate-bounce [animation-delay:0.2s]" />
275
+ < div className = "w-2 h-2 rounded-full bg-primary animate-bounce [animation-delay:0.4s]" />
276
+ </ div >
277
+ </ div >
278
+ ) }
279
+ </ div >
267
280
< div ref = { messagesEndRef } />
268
281
</ div >
269
282
< form
You can’t perform that action at this time.
0 commit comments