dify/api/core/trigger
Harry ef9a741781 feat(trigger): enhance trigger management with new error handling and response structure
- Added `TriggerInvokeError` and `TriggerIgnoreEventError` for better error categorization during trigger invocation.
- Updated `TriggerInvokeResponse` to include a `cancelled` field, indicating if a trigger was ignored.
- Enhanced `TriggerManager` to handle specific errors and return appropriate responses.
- Refactored `dispatch_triggered_workflows` to improve workflow execution logic and error handling.

These changes improve the robustness and clarity of the trigger management system.
2025-09-23 16:01:59 +08:00
..
entities feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00
utils fix(trigger): clean up whitespace in encryption utility and trigger provider service 2025-09-05 15:56:13 +08:00
__init__.py feat(trigger): add trigger provider management and webhook handling functionality 2025-09-03 14:53:26 +08:00
errors.py feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00
provider.py feat(trigger): add supported creation methods to TriggerProviderApiEntity 2025-09-15 17:01:29 +08:00
trigger_manager.py feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00