feat(dify): 把本地控制台的中文与去外链改动入库

这些界面改动和专家服务草稿停在工作区,没有随上一笔主分支提交进入仓库。

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
wuzilongandCursor committed 2026-11-23 09:44:09 +08:00
1 parent 9c7c80e194
commit c2cb845a32
211 files changed
+3030 -2794

No files matched your search

@@ -16,7 +16,6 @@ import {
} from '@/app/components/datasets/common/multimodal-retrieval-guidance'
import RetrievalMethodConfig from '@/app/components/datasets/common/retrieval-method-config'
import { ModelSelector } from '@/app/components/header/account-setting/model-provider-page/model-selector'
import { useDocLink } from '@/context/i18n'
import { systemFeaturesQueryOptions } from '@/features/system-features/client'
import { ChunkingMode } from '@/models/datasets'
import { IndexingType } from '../../../create/step-two'
@@ -73,8 +72,7 @@ const IndexingSection = ({
select: ({ deployment_edition }) => deployment_edition,
})
const isNonCloudEdition = deploymentEdition === 'COMMUNITY' || deploymentEdition === 'ENTERPRISE'
const docLink = useDocLink()
const chunkingMode = toChunkingMode(currentDataset?.doc_form)
const chunkingMode = toChunkingMode(currentDataset?.doc_form)
const isShowIndexMethod =
currentDataset &&
@@ -104,14 +102,6 @@ const IndexingSection = ({
{t(($) => $['form.chunkStructure.title'], { ns: 'datasetSettings' })}
</div>
<div className="body-xs-regular text-text-tertiary">
<a
target="_blank"
rel="noopener noreferrer"
href={docLink('/use-dify/knowledge/create-knowledge/chunking-and-cleaning-text')}
className="text-text-accent"
>
{t(($) => $['form.chunkStructure.learnMore'], { ns: 'datasetSettings' })}
</a>
{t(($) => $['form.chunkStructure.description'], { ns: 'datasetSettings' })}
</div>
</div>
@@ -205,14 +195,6 @@ const IndexingSection = ({
{t(($) => $['form.retrievalSetting.title'], { ns: 'datasetSettings' })}
</div>
<div className="body-xs-regular text-text-tertiary">
<a
target="_blank"
rel="noopener noreferrer"
href={docLink('/use-dify/knowledge/create-knowledge/setting-indexing-methods')}
className="text-text-accent"
>
{t(($) => $['form.retrievalSetting.learnMore'], { ns: 'datasetSettings' })}
</a>
{t(($) => $['form.retrievalSetting.description'], { ns: 'datasetSettings' })}
</div>
</div>