Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions src/web-ui/src/flow_chat/components/modern/ModelRoundItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,8 @@ export const ModelRoundItem = React.memo<ModelRoundItemProps>(

const hasContent = sortedItems.some(item =>
(item.type === 'text' && (item as FlowTextItem).content.trim()) ||
(item.type === 'tool' && (item as FlowToolItem).toolCall)
(item.type === 'tool' && (item as FlowToolItem).toolCall) ||
(item.type === 'thinking' && (item as FlowThinkingItem).content.trim())
);

return (
Expand Down Expand Up @@ -305,7 +306,7 @@ export const ModelRoundItem = React.memo<ModelRoundItemProps>(
}
})}

{isTurnComplete && isLastRound && hasContent && !round.isStreaming && (
{isTurnComplete && isLastRound && hasContent && (
<div className="model-round-item__footer">
<span className="model-round-item__ai-disclaimer">
{t('modelRound.aiDisclaimer', { defaultValue: '以上内容均由 AI 生成,仅供参考' })}
Expand Down
Loading