Skip to content

Commit df04515

Browse files
authored
fix: share page (#6553)
1 parent 4b4f856 commit df04515

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

projects/app/src/pages/api/core/chat/record/getRecords_v2.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -99,7 +99,9 @@ async function handler(
9999
});
100100

101101
if (showRunningStatus === false) {
102-
item.value = item.value.filter((v) => v.tools);
102+
item.value = item.value.filter(
103+
(v) => v.text?.content || v.reasoning?.content || v.interactive || v.plan || !v.tools
104+
);
103105
}
104106
}
105107
});

0 commit comments

Comments
 (0)