mirror of https://github.com/langgenius/dify.git
- Refactored the `DraftWorkflowTriggerNodeApi` and related services to utilize the new `TriggerService` for polling debug events, improving modularity and clarity. - Added `poll_debug_event` methods in `TriggerService`, `ScheduleService`, and `WebhookService` to streamline event handling for different trigger types. - Introduced `ScheduleDebugEvent` and updated `PluginTriggerDebugEvent` to include a more structured approach for event data. - Enhanced the `invoke_trigger_event` method to improve error handling and data validation during trigger invocations. - Updated frontend API calls to align with the new event structure, removing deprecated parameters for cleaner integration. |
||
|---|---|---|
| .. | ||
| agent | ||
| answer | ||
| base | ||
| code | ||
| datasource | ||
| document_extractor | ||
| end | ||
| http_request | ||
| if_else | ||
| iteration | ||
| knowledge_index | ||
| knowledge_retrieval | ||
| list_operator | ||
| llm | ||
| loop | ||
| parameter_extractor | ||
| question_classifier | ||
| start | ||
| template_transform | ||
| tool | ||
| trigger_plugin | ||
| trigger_schedule | ||
| trigger_webhook | ||
| variable_aggregator | ||
| variable_assigner | ||
| __init__.py | ||
| node_factory.py | ||
| node_mapping.py | ||