mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-15 01:15:58 +08:00
fix: agent node help link error in zh (#16194)
This commit is contained in:
parent
3f44b690c2
commit
0189a8b0f6
@ -6,7 +6,7 @@ export const useNodeHelpLink = (nodeType: BlockEnum) => {
|
|||||||
const language = useGetLanguage()
|
const language = useGetLanguage()
|
||||||
const prefixLink = useMemo(() => {
|
const prefixLink = useMemo(() => {
|
||||||
if (language === 'zh_Hans')
|
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/'
|
return 'https://docs.dify.ai/guides/workflow/node/'
|
||||||
}, [language])
|
}, [language])
|
||||||
@ -34,6 +34,7 @@ export const useNodeHelpLink = (nodeType: BlockEnum) => {
|
|||||||
[BlockEnum.Tool]: 'tools',
|
[BlockEnum.Tool]: 'tools',
|
||||||
[BlockEnum.DocExtractor]: 'doc-extractor',
|
[BlockEnum.DocExtractor]: 'doc-extractor',
|
||||||
[BlockEnum.ListFilter]: 'list-operator',
|
[BlockEnum.ListFilter]: 'list-operator',
|
||||||
|
[BlockEnum.Agent]: 'agent',
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user