feat: add reasoning check to message list item rendering

This commit is contained in:
Henry Li
2026-01-17 18:02:19 +08:00
parent cb54b5dffa
commit 0ea448a220
2 changed files with 8 additions and 4 deletions

View File

@@ -46,9 +46,6 @@ export function groupMessages<T>(
} else {
// Assistant messages with content (text or images) are shown as a group if they have content
// No matter whether it has tool calls or not
if (hasReasoning(message)) {
currentGroup.push(message);
}
yieldCurrentGroup();
currentGroup.push(message);
}