dify/api/controllers/console/app
Harry 06c91fbcbd refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management
- Updated `DraftWorkflowTriggerNodeApi` to utilize the new `TriggerDebugEvent` and `TriggerDebugEventPoller` for improved event polling.
- Removed deprecated `poll_debug_event` methods from `TriggerService`, `ScheduleService`, and `WebhookService`, consolidating functionality into the new event structure.
- Enhanced error handling in `invoke_trigger_event` to utilize `TriggerPluginInvokeError` for better clarity on invocation issues.
- Updated frontend API routes to reflect changes in trigger event handling, ensuring consistency across the application.
2025-10-15 14:41:53 +08:00
..
__init__.py FEAT: NEW WORKFLOW ENGINE (#3160) 2024-04-08 18:51:46 +08:00
advanced_prompt_template.py refactor: update API routes and documentation for console endpoints (#25554) 2025-09-12 11:51:24 +08:00
agent.py refactor: update API routes and documentation for console endpoints (#25554) 2025-09-12 11:51:24 +08:00
annotation.py Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
app.py remove .value (#26633) 2025-10-11 09:08:29 +08:00
app_import.py Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
audio.py refactor: update API routes and documentation for console endpoints (#25554) 2025-09-12 11:51:24 +08:00
completion.py refactor: update API routes and documentation for console endpoints (#25554) 2025-09-12 11:51:24 +08:00
conversation.py remove .value (#26633) 2025-10-11 09:08:29 +08:00
conversation_variables.py refactor: update API routes and documentation for console endpoints (#25554) 2025-09-12 11:51:24 +08:00
error.py Restructure the File errors in controller (#23801) 2025-08-13 17:06:07 +08:00
generator.py Merge remote-tracking branch 'origin/main' into feat/trigger 2025-10-15 09:53:03 +08:00
mcp_server.py refactor: update API routes and documentation for console endpoints (#25554) 2025-09-12 11:51:24 +08:00
message.py Fix: enforce editor-only access to chat message logs (#25936) 2025-09-18 21:59:51 +08:00
model_config.py Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
ops_trace.py refactor: update API routes and documentation for console endpoints (#25554) 2025-09-12 11:51:24 +08:00
site.py Use hook to get userid (#26839) 2025-10-14 09:20:37 +08:00
statistic.py remove .value (#26633) 2025-10-11 09:08:29 +08:00
workflow.py refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00
workflow_app_log.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
workflow_draft_variable.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
workflow_run.py refactor: update API routes and documentation for app and datasets endpoints (#25628) 2025-09-15 10:59:11 +08:00
workflow_statistic.py remove .value (#26633) 2025-10-11 09:08:29 +08:00
workflow_trigger.py refactor(api): fix pyright check 2025-09-25 18:32:22 +08:00
wraps.py chore: add ast-grep rule to convert Optional[T] to T | None (#25560) 2025-09-15 13:06:33 +08:00