dify/api/controllers
Harry 57c0bc9fb6 feat(trigger): refactor trigger debug event handling and improve response structures
- Renamed and refactored trigger debug event classes to enhance clarity and consistency, including changes from `TriggerDebugEventData` to `TriggerEventData` and related response classes.
- Updated `DraftWorkflowTriggerNodeApi` and `DraftWorkflowTriggerRunApi` to utilize the new event structures, improving the handling of trigger events.
- Removed the `TriggerDebugEventGenerator` class, consolidating event generation directly within the API logic for streamlined processing.
- Enhanced error handling and response formatting for trigger events, ensuring structured outputs for better integration and debugging.

This refactor improves the overall architecture of trigger debugging, making it more intuitive and maintainable.
2025-09-11 16:55:58 +08:00
..
common feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
console feat(trigger): refactor trigger debug event handling and improve response structures 2025-09-11 16:55:58 +08:00
files feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
inner_api example of decorator typing (#24857) 2025-09-01 10:04:24 +08:00
mcp Merge branch 'main' into feat/trigger 2025-09-01 18:05:31 +08:00
service_api example enum to StrEnum (#24877) 2025-09-01 15:40:26 +08:00
trigger chore: (trigger) add WEBHOOK_REQUEST_BODY_MAX_SIZE (#25217) 2025-09-05 12:23:11 +08:00
web chore: cleanup unnecessary mypy suppressions on imports (#24712) 2025-08-28 23:17:25 +08:00
__init__.py chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00