dify/api/controllers
Harry 80f2c1be67 fix(trigger): enhance error handling and refactor end user creation in trigger workflows
- Improved error handling in `TriggerSubscriptionListApi` to return a 404 response for ValueErrors.
- Refactored end user creation logic in `service_api/wraps.py` to use `get_or_create_end_user` for better clarity and consistency.
- Introduced a new method `create_end_user_batch` for batch creation of end users, optimizing database interactions.
- Updated various trigger-related services to utilize the new end user handling, ensuring proper user context during trigger dispatching.
2025-10-17 21:00:57 +08:00
..
common feat: fix i18n missing keys and merge upstream/main (#24615) 2025-08-27 15:07:28 +08:00
console fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +08:00
files feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
inner_api use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
mcp Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-25 17:14:24 +08:00
service_api fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +08:00
trigger refactor(trigger): Unify the Trigger Debug interface and event handling and enhance error management 2025-10-15 14:41:53 +08:00
web use deco to avoid current_user (#26077) 2025-10-16 15:45:51 +09:00
__init__.py chore(api/controllers): Apply Ruff Formatter. (#7645) 2024-08-26 15:29:10 +08:00