dify/api/core
Harry 57c0bc9fb6 feat(trigger): refactor trigger debug event handling and improve response structures
- Renamed and refactored trigger debug event classes to enhance clarity and consistency, including changes from `TriggerDebugEventData` to `TriggerEventData` and related response classes.
- Updated `DraftWorkflowTriggerNodeApi` and `DraftWorkflowTriggerRunApi` to utilize the new event structures, improving the handling of trigger events.
- Removed the `TriggerDebugEventGenerator` class, consolidating event generation directly within the API logic for streamlined processing.
- Enhanced error handling and response formatting for trigger events, ensuring structured outputs for better integration and debugging.

This refactor improves the overall architecture of trigger debugging, making it more intuitive and maintainable.
2025-09-11 16:55:58 +08:00
..
agent feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
app feat(trigger): refactor trigger debug event handling and improve response structures 2025-09-11 16:55:58 +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(trigger): enhance subscription schema and provider configuration 2025-09-03 14:53:27 +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 refactor: remove triggered_by field from webhook triggers and use automatic sync 2025-09-10 17:17:19 +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): refactor trigger debug event handling and improve response structures 2025-09-11 16:55:58 +08:00
variables [CHORE]: remove redundant-cast (#24807) 2025-09-01 14:05:32 +08:00
workflow refactor: remove triggered_by field from webhook triggers and use automatic sync 2025-09-10 17:17:19 +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