fix: keep node error-branch token semantics and add grep fallback

This commit is contained in:
CJACK.
2026-04-06 12:32:26 +08:00
parent 9e0fd83a76
commit f6c09ebd63
2 changed files with 6 additions and 2 deletions

View File

@@ -29,7 +29,7 @@ function parseChunkForContent(chunk, thinkingEnabled, currentType, stripReferenc
finished: true,
contentFilter: false,
errorMessage: formatErrorMessage(chunk.error),
outputTokens,
outputTokens: 0,
newType: currentType,
};
}