dify/api/core
Harry ef9a741781 feat(trigger): enhance trigger management with new error handling and response structure
- Added `TriggerInvokeError` and `TriggerIgnoreEventError` for better error categorization during trigger invocation.
- Updated `TriggerInvokeResponse` to include a `cancelled` field, indicating if a trigger was ignored.
- Enhanced `TriggerManager` to handle specific errors and return appropriate responses.
- Refactored `dispatch_triggered_workflows` to improve workflow execution logic and error handling.

These changes improve the robustness and clarity of the trigger management system.
2025-09-23 16:01:59 +08:00
..
agent feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
app feat(trigger): implement plugin trigger synchronization and subscription management in workflow 2025-09-15 15:49:07 +08:00
base refactor: Remove RepositoryFactory (#19176) 2025-05-06 21:14:51 +08:00
callback_handler orm filter -> where (#22801) 2025-07-24 00:57:45 +08:00
entities feat(provider): add multiple option support in ProviderConfig 2025-09-17 22:12:01 +08:00
errors fix(core/errors): change base class of custom exceptions to ValueError (#11955) 2024-12-22 10:41:34 +08:00
extension feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
external_data_tool make logging not use f-str, change others to f-str (#22882) 2025-07-25 10:32:48 +08:00
file feat: add filename support to multi-modal prompt messages (#24777) 2025-08-29 16:22:26 +08:00
helper refactor(trigger): update plugin and trigger entity structures 2025-09-09 17:16:44 +08:00
llm_generator feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
mcp fix: change the mcp server strucutre to support github copilot (#24788) 2025-08-29 18:00:58 +08:00
memory feat(api): maintain assistant content parts and file handling in advanced chat (#24663) 2025-08-29 15:19:55 +08:00
model_runtime feat: add filename support to multi-modal prompt messages (#24777) 2025-08-29 16:22:26 +08:00
moderation feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
ops fix_trace_config (#24669) 2025-08-28 13:54:49 +08:00
plugin feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00
prompt [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
rag fix:hard-coded top-k fallback issue. (#24879) 2025-09-01 15:46:37 +08:00
repositories feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
tools refactor(trigger): clean up and optimize trigger-related code 2025-09-03 14:53:26 +08:00
trigger feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00
variables [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
workflow feat(trigger): enhance trigger management with new error handling and response structure 2025-09-23 16:01:59 +08:00
__init__.py chore(api/core): apply ruff reformatting (#7624) 2024-09-10 17:00:20 +08:00
hosting_configuration.py chore(provider_manager): Update hosted model's name (#14334) 2025-02-25 18:47:33 +08:00
indexing_runner.py feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
model_manager.py [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
provider_manager.py [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00