mirror of
https://github.com/langgenius/dify.git
synced 2026-02-13 23:05:21 +08:00
- Improved error handling in `DraftWorkflowTriggerRunApi`, `DraftWorkflowTriggerNodeApi`, and `DraftWorkflowTriggerRunAllApi` to raise exceptions directly, providing clearer error messages. - Introduced `get_event_parameters` method in `PluginTriggerProviderController` to retrieve event parameters for triggers. - Updated `PluginTriggerNodeData` to include a new method for resolving parameters based on event schemas, ensuring better validation and handling of trigger inputs. - Refactored `TriggerService` to utilize the new parameter resolution method, enhancing the clarity and reliability of trigger invocations.