From a7859de625f9d6ae43349b2629b8b9f26ad84366 Mon Sep 17 00:00:00 2001 From: zxhlyh Date: Wed, 24 Dec 2025 14:15:55 +0800 Subject: [PATCH] feat: llm node support tools --- .../nodes/llm/components/tools/index.tsx | 29 +++++++++++++++++++ web/i18n/en-US/workflow.ts | 3 ++ 2 files changed, 32 insertions(+) create mode 100644 web/app/components/workflow/nodes/llm/components/tools/index.tsx diff --git a/web/app/components/workflow/nodes/llm/components/tools/index.tsx b/web/app/components/workflow/nodes/llm/components/tools/index.tsx new file mode 100644 index 0000000000..4b6fc3960d --- /dev/null +++ b/web/app/components/workflow/nodes/llm/components/tools/index.tsx @@ -0,0 +1,29 @@ +import { memo } from 'react' +import { useTranslation } from 'react-i18next' +import Tooltip from '@/app/components/base/tooltip' +import Field from '@/app/components/workflow/nodes/_base/components/field' + +const i18nPrefix = 'workflow.nodes.llm' + +const Tools = () => { + const { t } = useTranslation() + + return ( + + + )} + > +
+
Tools
+
+
+ ) +} + +export default memo(Tools) diff --git a/web/i18n/en-US/workflow.ts b/web/i18n/en-US/workflow.ts index a023ac2b91..b1f394f147 100644 --- a/web/i18n/en-US/workflow.ts +++ b/web/i18n/en-US/workflow.ts @@ -560,6 +560,9 @@ const translation = { saveSchema: 'Please finish editing the current field before saving the schema', }, }, + tools: { + title: 'Tools', + }, }, knowledgeRetrieval: { queryVariable: 'Query Variable',