Skip to content
Merged
Show file tree
Hide file tree
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
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,14 @@
margin-top: var(--flowchat-inline-gap, 0.35rem);
}

.model-round-item__ai-disclaimer {
flex: 1;
font-size: var(--flowchat-font-size-xs);
color: var(--color-text-muted);
opacity: 0.55;
text-align: left;
}

.model-round-item__action-btn {
display: flex;
align-items: center;
Expand Down
3 changes: 3 additions & 0 deletions src/web-ui/src/flow_chat/components/modern/ModelRoundItem.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -307,6 +307,9 @@ export const ModelRoundItem = React.memo<ModelRoundItemProps>(

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

<Tooltip content={copied ? t('modelRound.copiedDialog') : t('modelRound.copyDialog')} placement="top">
Expand Down
3 changes: 2 additions & 1 deletion src/web-ui/src/locales/en-US/flow-chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,8 @@
"feedbackThanks": "Thank you for your feedback!",
"feedbackDevVersion": "Feedback is not available in dev version",
"userLabel": "👤 User:",
"toolCallLabel": "🔧 Tool call: {{name}}"
"toolCallLabel": "🔧 Tool call: {{name}}",
"aiDisclaimer": "Content generated by AI, for reference only"
},
"exploreRegion": {
"readFiles_one": "Read {{count}} file",
Expand Down
3 changes: 2 additions & 1 deletion src/web-ui/src/locales/zh-CN/flow-chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,8 @@
"feedbackThanks": "感谢您的反馈!",
"feedbackDevVersion": "开发版本暂不提供反馈功能",
"userLabel": "👤 用户:",
"toolCallLabel": "🔧 工具调用: {{name}}"
"toolCallLabel": "🔧 工具调用: {{name}}",
"aiDisclaimer": "以上内容均由 AI 生成,仅供参考"
},
"exploreRegion": {
"readFiles_one": "读取了 {{count}} 个文件",
Expand Down
3 changes: 2 additions & 1 deletion src/web-ui/src/locales/zh-TW/flow-chat.json
Original file line number Diff line number Diff line change
Expand Up @@ -1035,7 +1035,8 @@
"feedbackThanks": "感謝您的反饋!",
"feedbackDevVersion": "開發版本暫不提供反饋功能",
"userLabel": "👤 用戶:",
"toolCallLabel": "🔧 工具調用: {{name}}"
"toolCallLabel": "🔧 工具調用: {{name}}",
"aiDisclaimer": "以上內容均由 AI 生成,僅供參考"
},
"exploreRegion": {
"readFiles_one": "讀取了 {{count}} 個文件",
Expand Down
Loading