dify/api/core/plugin/impl
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
..
agent.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
asset.py refactor: rename plugin manager to plugin client and rename path from manager to impl (#18876) 2025-04-27 14:22:25 +08:00
base.py Add timeout so any plugin daemon call (including the SSE path) that legitimately takes longer than 5s would right. (#26852) 2025-10-14 09:23:27 +08:00
datasource.py use model_validate (#26182) 2025-10-10 17:30:13 +09:00
debugging.py refactor: rename plugin manager to plugin client and rename path from manager to impl (#18876) 2025-04-27 14:22:25 +08:00
dynamic_select.py Merge remote-tracking branch 'origin/main' into feat/trigger 2025-09-25 17:14:24 +08:00
endpoint.py refactor: rename plugin manager to plugin client and rename path from manager to impl (#18876) 2025-04-27 14:22:25 +08:00
exc.py remove bare list, dict, Sequence, None, Any (#25058) 2025-09-06 03:32:23 +08:00
model.py use model_validate (#26182) 2025-10-10 17:30:13 +09:00
oauth.py feat: oauth refresh token (#22744) 2025-07-23 13:12:39 +08:00
plugin.py feat: knowledge pipeline (#25360) 2025-09-18 12:49:10 +08:00
tool.py refactor(api): refactor all 2025-09-25 18:22:30 +08:00
trigger.py fix(trigger): enhance error handling and refactor end user creation in trigger workflows 2025-10-17 21:00:57 +08:00