diff --git a/projects/app/src/pages/app/detail/components/SimpleApp/EditForm.tsx b/projects/app/src/pages/app/detail/components/SimpleApp/EditForm.tsx index a191fa16c..de7bdd2e0 100644 --- a/projects/app/src/pages/app/detail/components/SimpleApp/EditForm.tsx +++ b/projects/app/src/pages/app/detail/components/SimpleApp/EditForm.tsx @@ -104,7 +104,10 @@ const EditForm = ({ const formatVariables = useMemo( () => formatEditorVariablePickerIcon([ - ...workflowSystemVariables, + ...workflowSystemVariables.filter( + (variable) => + !['userId', 'appId', 'chatId', 'responseChatItemId', 'histories'].includes(variable.key) + ), ...(appForm.chatConfig.variables || []) ]).map((item) => ({ ...item,