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. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| account.py | ||
| agent_providers.py | ||
| endpoint.py | ||
| error.py | ||
| load_balancing_config.py | ||
| members.py | ||
| model_providers.py | ||
| models.py | ||
| plugin.py | ||
| tool_providers.py | ||
| trigger_providers.py | ||
| workspace.py | ||