mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
fix
This commit is contained in:
parent
9bfacb9167
commit
2ebbb8362e
|
|
@ -1103,9 +1103,11 @@
|
|||
"support.outlink.Max usage points tip": "The maximum number of points allowed for this link. It cannot be used after exceeding the limit. -1 means unlimited.",
|
||||
"support.outlink.Usage points": "Points Consumption",
|
||||
"support.outlink.share.Chat_quote_reader": "Full text reader",
|
||||
"support.outlink.share.Download source tips": "Download the original file of the knowledge base, or jump to the source website",
|
||||
"support.outlink.share.Full_text tips": "Allows reading of the complete dataset from which the referenced fragment is derived",
|
||||
"support.outlink.share.Response Quote": "View quoted snippets",
|
||||
"support.outlink.share.Response Quote tips": "Return quoted content in the share link, but do not allow users to download the original document",
|
||||
"support.outlink.share.Show full text tips": "View the complete file to which the quoted content belongs. You cannot view the original file or jump to the source website.",
|
||||
"support.outlink.share.running_node": "Running node",
|
||||
"support.outlink.share.show_complete_quote": "View original source",
|
||||
"support.outlink.share.show_complete_quote_tips": "View and download the complete citation document, or jump to the citation website",
|
||||
|
|
|
|||
|
|
@ -1112,11 +1112,11 @@
|
|||
"support.outlink.Max usage points tip": "该链接最多允许使用多少积分,超出后将无法使用。-1 代表无限制。",
|
||||
"support.outlink.Usage points": "积分消耗",
|
||||
"support.outlink.share.Chat_quote_reader": "全文阅读器",
|
||||
"support.outlink.share.Download source tips": "下载或打开来源的原始文件",
|
||||
"support.outlink.share.Download source tips": "下载知识库原文件,或跳转来源网站",
|
||||
"support.outlink.share.Full_text tips": "允许阅读该引用片段来源的完整数据集",
|
||||
"support.outlink.share.Response Quote": "查看引用片段",
|
||||
"support.outlink.share.Response Quote tips": "查看知识库搜索的引用内容,不可查看完整引用文档或跳转引用网站",
|
||||
"support.outlink.share.Show full text tips": "查看引用的完整内容,包括全文、图片等详细信息",
|
||||
"support.outlink.share.Show full text tips": "查看引用内容所属的完整文件,不可查看原文件或跳转来来源网站",
|
||||
"support.outlink.share.running_node": "运行节点",
|
||||
"support.outlink.share.show_complete_quote": "查看来源原文",
|
||||
"support.outlink.share.show_complete_quote_tips": "查看及下载完整引用文档,或跳转引用网站",
|
||||
|
|
|
|||
|
|
@ -1100,9 +1100,11 @@
|
|||
"support.outlink.Max usage points tip": "此連結最多允許使用多少點數,超出後將無法使用。-1 代表無限制。",
|
||||
"support.outlink.Usage points": "點數消耗",
|
||||
"support.outlink.share.Chat_quote_reader": "全文閱讀器",
|
||||
"support.outlink.share.Download source tips": "下載知識庫原文件,或跳轉來源網站",
|
||||
"support.outlink.share.Full_text tips": "允許閱讀該引用片段來源的完整資料集",
|
||||
"support.outlink.share.Response Quote": "查看引用片段",
|
||||
"support.outlink.share.Response Quote tips": "在分享連結中回傳引用內容,但不允許使用者下載原始文件",
|
||||
"support.outlink.share.Show full text tips": "查看引用內容所屬的完整文件,不可查看原文件或跳轉來來源網站",
|
||||
"support.outlink.share.running_node": "執行節點",
|
||||
"support.outlink.share.show_complete_quote": "檢視原始內容",
|
||||
"support.outlink.share.show_complete_quote_tips": "檢視及下載完整引用文件,或跳轉至引用網站",
|
||||
|
|
|
|||
|
|
@ -56,21 +56,21 @@ const ResponseTags = ({
|
|||
historyPreviewLength = 0,
|
||||
toolCiteLinks = []
|
||||
} = useMemo(() => {
|
||||
if (!isShowCite)
|
||||
return {
|
||||
totalQuoteList: [],
|
||||
llmModuleAccount: 0,
|
||||
historyPreviewLength: 0,
|
||||
toolCiteLinks: []
|
||||
};
|
||||
return addStatisticalDataToHistoryItem(historyItem);
|
||||
return {
|
||||
...addStatisticalDataToHistoryItem(historyItem),
|
||||
...(isShowCite
|
||||
? {
|
||||
totalQuoteList: []
|
||||
}
|
||||
: {})
|
||||
};
|
||||
}, [historyItem, isShowCite]);
|
||||
|
||||
const [quoteFolded, setQuoteFolded] = useState<boolean>(true);
|
||||
|
||||
const chatType = useContextSelector(ChatBoxContext, (v) => v.chatType);
|
||||
|
||||
const notSharePage = useMemo(() => chatType !== 'share' && isShowCite, [chatType, isShowCite]);
|
||||
const notSharePage = useMemo(() => chatType !== 'share', [chatType]);
|
||||
|
||||
const {
|
||||
isOpen: isOpenWholeModal,
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ import {
|
|||
import type { PlaygroundVisibilityConfigType } from '@fastgpt/global/support/outLink/type';
|
||||
import MyIcon from '@fastgpt/web/components/common/Icon';
|
||||
import { useCopyData } from '@fastgpt/web/hooks/useCopyData';
|
||||
import { ChatSidebarPaneEnum } from '@/pageComponents/chat/constants';
|
||||
|
||||
const defaultPlaygroundVisibilityForm: PlaygroundVisibilityConfigType = {
|
||||
showRunningStatus: true,
|
||||
|
|
@ -34,7 +35,7 @@ const PlaygroundVisibilityConfig = ({ appId }: { appId: string }) => {
|
|||
|
||||
const playgroundLink = useMemo(() => {
|
||||
if (typeof window !== 'undefined') {
|
||||
return `${window.location.origin}/chat?appId=${appId}`;
|
||||
return `${window.location.origin}/chat?appId=${appId}&pane=${ChatSidebarPaneEnum.RECENTLY_USED_APPS}`;
|
||||
}
|
||||
return '';
|
||||
}, [appId]);
|
||||
|
|
|
|||
Loading…
Reference in New Issue