fix: consistent citation numbering during streaming

This commit is contained in:
CREDO23 2026-01-13 09:09:53 +02:00
parent cd3677b5fa
commit 5e31a228bc
2 changed files with 2 additions and 5 deletions

View file

@ -90,10 +90,6 @@ function parseTextWithCitations(text: string): ReactNode[] {
}
const MarkdownTextImpl = () => {
// Reset citation counter at the start of each render
// This ensures consistent numbering as the message streams in
resetCitationCounter();
return (
<MarkdownTextPrimitive
remarkPlugins={[remarkGfm]}