会话部分文本表达优化

This commit is contained in:
xintaofei
2026-03-25 00:46:13 +08:00
parent f6a9da79df
commit ba64b2224b
14 changed files with 30 additions and 20 deletions

View File

@@ -174,7 +174,9 @@ function buildStreamingTurnsFromLiveMessage(
for (const block of liveMessage.content) {
const isContentBlock =
block.type === "text" || block.type === "thinking" || block.type === "plan"
block.type === "text" ||
block.type === "thinking" ||
block.type === "plan"
if (isContentBlock && currentGroupHasCompletedTool) {
groups.push([])