mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 23:46:50 +00:00
feat: add reasoning check to message list item rendering
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user