mirror of
https://github.com/Yidadaa/ChatGPT-Next-Web.git
synced 2025-08-08 09:23:57 +08:00
Remove unnecessary trimming
This commit is contained in:
@@ -576,7 +576,7 @@ export function streamWithThink(
|
||||
try {
|
||||
const chunk = parseSSE(text, runTools);
|
||||
// Skip if content is empty
|
||||
if (!chunk?.content || chunk.content.trim().length === 0) {
|
||||
if (!chunk?.content || chunk.content.length === 0) {
|
||||
return;
|
||||
}
|
||||
// Check if thinking mode changed
|
||||
|
Reference in New Issue
Block a user