From 5f0fa38ec6f9924ca81fb1fa346adf400908a802 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=9D=9E=E6=B3=95=E6=93=8D=E4=BD=9C?= Date: Wed, 22 Jan 2025 16:46:35 +0800 Subject: [PATCH] fix(1.0): invoke llm raise error (#12753) --- .../plugins/plugin-detail-panel/model-selector/index.tsx | 1 + 1 file changed, 1 insertion(+) diff --git a/web/app/components/plugins/plugin-detail-panel/model-selector/index.tsx b/web/app/components/plugins/plugin-detail-panel/model-selector/index.tsx index 1408b4f9be..ac4ef3452b 100644 --- a/web/app/components/plugins/plugin-detail-panel/model-selector/index.tsx +++ b/web/app/components/plugins/plugin-detail-panel/model-selector/index.tsx @@ -131,6 +131,7 @@ const ModelParameterModal: FC = ({ model_type, ...(model_type === ModelTypeEnum.textGeneration ? { mode: targetModelItem?.model_properties.mode as string, + completion_params: {}, } : {}), }) }