-
- {message.isStreaming && }
+
+ {message.isStreaming && !formattedContent && }
)
diff --git a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/components/smooth-streaming/smooth-streaming.tsx b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/components/smooth-streaming/smooth-streaming.tsx
index c0965808e8d..c313756b61c 100644
--- a/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/components/smooth-streaming/smooth-streaming.tsx
+++ b/apps/sim/app/workspace/[workspaceId]/w/[workflowId]/components/panel/components/copilot/components/copilot-message/components/smooth-streaming/smooth-streaming.tsx
@@ -1,107 +1,22 @@
-import { memo, useEffect, useRef, useState } from 'react'
-import { cn } from '@/lib/core/utils/cn'
+import { memo } from 'react'
+import { StreamingIndicator, StreamingText } from '@/components/ui'
import { CopilotMarkdownRenderer } from '../markdown-renderer'
-/** Character animation delay in milliseconds */
-const CHARACTER_DELAY = 3
+export { StreamingIndicator }
-/** Props for the StreamingIndicator component */
-interface StreamingIndicatorProps {
- /** Optional class name for layout adjustments */
- className?: string
-}
-
-/** Shows animated dots during message streaming when no content has arrived */
-export const StreamingIndicator = memo(({ className }: StreamingIndicatorProps) => (
-