We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4e43bd8 commit 1c5e341Copy full SHA for 1c5e341
torchci/components/TorchAgentPage.tsx
@@ -449,6 +449,18 @@ export const TorchAgentPage = () => {
449
450
if (animatingItems.length === 0) return;
451
452
+ // If more than 1 item is animating, just display all without animation
453
+ if (animatingItems.length > 1) {
454
+ setParsedResponses((prev) =>
455
+ prev.map((item) => ({
456
+ ...item,
457
+ isAnimating: false,
458
+ displayedContent: item.content,
459
+ }))
460
+ );
461
+ return;
462
+ }
463
+
464
const itemIndex = parsedResponses.findIndex((item) => item.isAnimating);
465
if (itemIndex === -1) return;
466
0 commit comments