add ComplianceTip for dataset&chat
This commit is contained in:
@@ -38,6 +38,7 @@ import { clone } from 'lodash';
|
||||
import { formatFileSize } from '@fastgpt/global/common/file/tools';
|
||||
import MyBox from '@fastgpt/web/components/common/MyBox';
|
||||
import { getErrText } from '@fastgpt/global/common/error/utils';
|
||||
import ComplianceTip, { TipTypeEnum } from '@/components/support/compliance/ComplianceTip';
|
||||
|
||||
const InputGuideBox = dynamic(() => import('./InputGuideBox'));
|
||||
|
||||
@@ -709,6 +710,7 @@ const ChatInput = ({
|
||||
|
||||
{RenderTextarea}
|
||||
</Box>
|
||||
<ComplianceTip type={TipTypeEnum.chat} />
|
||||
</Box>
|
||||
);
|
||||
};
|
||||
|
||||
@@ -6,6 +6,7 @@ import Markdown from '@/components/Markdown';
|
||||
import { FlowNodeTypeEnum } from '@fastgpt/global/core/workflow/node/constant';
|
||||
import AIResponseBox from '../../../components/AIResponseBox';
|
||||
import { useTranslation } from 'next-i18next';
|
||||
import ComplianceTip, { TipTypeEnum } from '@/components/support/compliance/ComplianceTip';
|
||||
const RenderOutput = () => {
|
||||
const { histories, isChatting } = useContextSelector(PluginRunContext, (v) => v);
|
||||
const { t } = useTranslation();
|
||||
@@ -49,6 +50,7 @@ const RenderOutput = () => {
|
||||
) : null}
|
||||
</Box>
|
||||
</Box>
|
||||
<ComplianceTip type={TipTypeEnum.chat} />
|
||||
</>
|
||||
);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user