diff --git a/apps/web/src/components/ui/streaming/AppMarkdownStreaming/useStreamTokenArray.stories.tsx b/apps/web/src/components/ui/streaming/AppMarkdownStreaming/useStreamTokenArray.stories.tsx index ecd54d952..0f19b574f 100644 --- a/apps/web/src/components/ui/streaming/AppMarkdownStreaming/useStreamTokenArray.stories.tsx +++ b/apps/web/src/components/ui/streaming/AppMarkdownStreaming/useStreamTokenArray.stories.tsx @@ -54,7 +54,7 @@ const StreamTokenArrayDemo = ({ }, [tokens, autoStream, streamDelay]); const { throttledTokens, throttledContent, isDone, flushNow, reset } = useStreamTokenArray({ - tokens: autoStream ? currentTokens : tokens, + tokens: (autoStream ? currentTokens : tokens).map(t => ({ token: t, delayMs: 0 })), isStreamFinished: autoStream ? finished : isStreamFinished, ...hookProps });