mirror of https://github.com/langgenius/dify.git
- 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. |
||
|---|---|---|
| .. | ||
| agent.py | ||
| asset.py | ||
| base.py | ||
| datasource.py | ||
| debugging.py | ||
| dynamic_select.py | ||
| endpoint.py | ||
| exc.py | ||
| model.py | ||
| oauth.py | ||
| plugin.py | ||
| tool.py | ||
| trigger.py | ||