fix: agent node help link error in zh

This commit is contained in:
ACAne0320 2025-03-19 15:28:49 +08:00
parent 41dff175b3
commit f77790ff50

View File

@ -6,7 +6,7 @@ export const useNodeHelpLink = (nodeType: BlockEnum) => {
const language = useGetLanguage()
const prefixLink = useMemo(() => {
if (language === 'zh_Hans')
return 'https://docs.dify.ai/v/zh-hans/guides/workflow/node/'
return 'https://docs.dify.ai/zh-hans/guides/workflow/node/'
return 'https://docs.dify.ai/guides/workflow/node/'
}, [language])
@ -34,6 +34,7 @@ export const useNodeHelpLink = (nodeType: BlockEnum) => {
[BlockEnum.Tool]: 'tools',
[BlockEnum.DocExtractor]: 'doc-extractor',
[BlockEnum.ListFilter]: 'list-operator',
[BlockEnum.Agent]: 'agent',
}
}