mirror of https://github.com/langgenius/dify.git
- Added `DraftWorkflowTriggerNodeApi` to handle debugging of trigger nodes, allowing for real-time event listening and session management. - Introduced `TriggerDebugService` for managing debug sessions and event dispatching using Redis Pub/Sub. - Updated `TriggerService` to support dispatching events to debug sessions and refactored related methods for improved clarity and functionality. - Enhanced data structures in `request.py` and `entities.py` to accommodate new debug event data requirements. These changes significantly improve the debugging capabilities for trigger nodes in draft workflows, facilitating better development and troubleshooting processes. |
||
|---|---|---|
| .. | ||
| callbacks | ||
| entities | ||
| graph_engine | ||
| nodes | ||
| repositories | ||
| utils | ||
| __init__.py | ||
| constants.py | ||
| conversation_variable_updater.py | ||
| enums.py | ||
| errors.py | ||
| system_variable.py | ||
| variable_loader.py | ||
| workflow_cycle_manager.py | ||
| workflow_entry.py | ||
| workflow_type_encoder.py | ||