From 0a6b4d01d79e0240b53cbfa5b318020ce098921f Mon Sep 17 00:00:00 2001 From: Joel Date: Tue, 14 Jan 2025 10:28:41 +0800 Subject: [PATCH] fix: save tool not add type (#12712) --- .../plugins/plugin-detail-panel/tool-selector/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx b/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx index 1be8498788..8e9966e8b8 100644 --- a/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx +++ b/web/app/components/plugins/plugin-detail-panel/tool-selector/index.tsx @@ -111,6 +111,7 @@ const ToolSelector: FC = ({ const paramValues = addDefaultValue(tool.params, toolParametersToFormSchemas(tool.paramSchemas.filter(param => param.form !== 'llm') as any)) const toolValue = { provider_name: tool.provider_id, + type: tool.provider_type, tool_name: tool.tool_name, parameters: paramValues, enabled: tool.is_team_authorization,