mirror of https://github.com/langgenius/dify.git
The provider update handler was missing proper transaction handling, causing quota deductions to be lost. This fix uses session.begin() context manager for automatic commit/rollback, ensuring provider quota updates are properly persisted. Fixes #24356 |
||
|---|---|---|
| .. | ||
| event_handlers | ||
| __init__.py | ||
| app_event.py | ||
| dataset_event.py | ||
| document_event.py | ||
| message_event.py | ||
| tenant_event.py | ||