diff --git a/web/app/components/plugins/plugin-detail-panel/trigger-events-list.tsx b/web/app/components/plugins/plugin-detail-panel/trigger-events-list.tsx index 07092d708a..efa95f6d0e 100644 --- a/web/app/components/plugins/plugin-detail-panel/trigger-events-list.tsx +++ b/web/app/components/plugins/plugin-detail-panel/trigger-events-list.tsx @@ -52,7 +52,7 @@ const toToolParameter = (parameter: any): ToolParameter => { human_description: paramDescription || paramLabel, type: parameter.type, form: 'setting', - llm_description: typeof paramDescription === 'object' ? (paramDescription.en_US || '') : (paramDescription || ''), + llm_description: typeof paramDescription === 'object' ? (paramDescription?.en_US || '') : (paramDescription || ''), required: parameter.required ?? false, multiple: parameter.multiple ?? false, default: parameter.default ?? '',