fix: copy multi lines when ==
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user