diff --git a/packages/web/i18n/en/common.json b/packages/web/i18n/en/common.json index ed21d658a..52418c2db 100644 --- a/packages/web/i18n/en/common.json +++ b/packages/web/i18n/en/common.json @@ -844,7 +844,6 @@ "folder.open_dataset": "Open Dataset", "folder_description": "Folder Description", "free": "Free", - "gate.copyright": "The content is generated by third-party AI and is for reference only. The authenticity, accuracy and legality of the information are the responsibility of the provider.", "gate.placeholder": "You can ask me any questions", "get_QR_failed": "Failed to Get QR Code", "get_app_failed": "Failed to Retrieve App", diff --git a/packages/web/i18n/zh-CN/common.json b/packages/web/i18n/zh-CN/common.json index c94150954..0c98622ab 100644 --- a/packages/web/i18n/zh-CN/common.json +++ b/packages/web/i18n/zh-CN/common.json @@ -844,7 +844,6 @@ "folder.open_dataset": "打开知识库", "folder_description": "文件夹描述", "free": "免费", - "gate.copyright": "内容由第三方 AI 生成,仅供参考,信息真实性、准确性、合法性由提供者负责", "gate.placeholder": "你可以问我任何问题", "get_QR_failed": "获取二维码失败", "get_app_failed": "获取应用失败", diff --git a/packages/web/i18n/zh-Hant/common.json b/packages/web/i18n/zh-Hant/common.json index 4e72df0cd..0ff1836fd 100644 --- a/packages/web/i18n/zh-Hant/common.json +++ b/packages/web/i18n/zh-Hant/common.json @@ -842,7 +842,6 @@ "folder.open_dataset": "開啟知識庫", "folder_description": "資料夾描述", "free": "免費", - "gate.copyright": "內容由第三方 AI 生成,僅供參考,信息真實性、準確性、合法性由提供者負責", "gate.placeholder": "你可以問我任何問題", "get_QR_failed": "取得 QR Code 失敗", "get_app_failed": "取得應用程式失敗", diff --git a/projects/app/src/components/core/chat/ChatContainer/ChatBox/Input/GateChatInput.tsx b/projects/app/src/components/core/chat/ChatContainer/ChatBox/Input/GateChatInput.tsx index c17af2895..8b2239685 100644 --- a/projects/app/src/components/core/chat/ChatContainer/ChatBox/Input/GateChatInput.tsx +++ b/projects/app/src/components/core/chat/ChatContainer/ChatBox/Input/GateChatInput.tsx @@ -410,7 +410,7 @@ const GateChatInput = ({ onSelectFile({ files })} /> - + {/* */} {/* voice input and loading container */} {!inputValue && ( diff --git a/projects/app/src/components/core/chat/ChatContainer/ChatBox/index.tsx b/projects/app/src/components/core/chat/ChatContainer/ChatBox/index.tsx index 4710d1f9d..e888ea75b 100644 --- a/projects/app/src/components/core/chat/ChatContainer/ChatBox/index.tsx +++ b/projects/app/src/components/core/chat/ChatContainer/ChatBox/index.tsx @@ -77,6 +77,7 @@ import type { GateSchemaType } from '@fastgpt/global/support/user/team/gate/type import type { FlowNodeTemplateType } from '@fastgpt/global/core/workflow/type/node'; import type { AppListItemType } from '@fastgpt/global/core/app/type'; import Avatar from '@fastgpt/web/components/common/Avatar'; +import ComplianceTip from '@/components/common/ComplianceTip/index'; const FeedbackModal = dynamic(() => import('./components/FeedbackModal')); const ReadFeedbackModal = dynamic(() => import('./components/ReadFeedbackModal')); @@ -1210,18 +1211,7 @@ const ChatBox = ({ {/* 移动端下的版权信息容器 */} {/* 在inGateRoute状态下显示底部语句 */} - {inGateRoute && ( - - {t('common:gate.copyright')} - - )} + {inGateRoute && } ) : ( @@ -1266,18 +1256,7 @@ const ChatBox = ({ )} {/* 在inGateRoute状态下显示底部语句 */} - {inGateRoute && ( - - {t('common:gate.copyright')} - - )} + {/* {inGateRoute && } */} )}