mirror of
https://github.com/langgenius/dify.git
synced 2026-01-14 06:07:33 +08:00
- 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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| advanced_prompt_template.py | ||
| agent.py | ||
| annotation.py | ||
| app_import.py | ||
| app.py | ||
| audio.py | ||
| completion.py | ||
| conversation_variables.py | ||
| conversation.py | ||
| error.py | ||
| generator.py | ||
| mcp_server.py | ||
| message.py | ||
| model_config.py | ||
| ops_trace.py | ||
| site.py | ||
| statistic.py | ||
| workflow_app_log.py | ||
| workflow_draft_variable.py | ||
| workflow_run.py | ||
| workflow_statistic.py | ||
| workflow_trigger.py | ||
| workflow.py | ||
| wraps.py | ||