fix: copy multi lines when ==

This commit is contained in:
jialin
2026-02-24 11:07:53 +08:00
parent 0824f0c13b
commit 89765c19c4
2 changed files with 5 additions and 7 deletions
@@ -61,7 +61,6 @@ export default function useChatCompletion(
_.get(chunk, 'choices.0.delta.content', '') === null
? ''
: _.get(chunk, 'choices.0.delta.content', '');
console.log('deltaContent:', deltaContent);
reasonContentRef.current = reasonContentRef.current + deltaReasoningContent;
contentRef.current = contentRef.current + deltaContent;