dify/api/core/plugin/entities
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
..
base.py Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
bundle.py Introduce Plugins (#13836) 2025-02-17 17:05:13 +08:00
endpoint.py chore: bump pydantic to 2.11 and pydantic-settings to 2.9 (#15049) 2025-05-08 17:39:51 +08:00
marketplace.py feat: plugin deprecation notice (#22685) 2025-07-22 10:27:35 +08:00
parameters.py feat: Add Citations and Attributions to Agent Node (#18558) 2025-07-16 15:46:15 +08:00
plugin.py feat(plugin): add triggers field to PluginDeclaration for enhanced functionality 2025-09-09 17:22:11 +08:00
plugin_daemon.py feat(trigger): introduce subscription builder and enhance trigger management 2025-09-03 14:53:27 +08:00
request.py feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00