mirror of
https://github.com/MODSetter/SurfSense.git
synced 2026-04-27 17:56:25 +02:00
fix: consistent citation numbering during streaming
This commit is contained in:
parent
cd3677b5fa
commit
5e31a228bc
2 changed files with 2 additions and 5 deletions
|
|
@ -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]}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue