mirror of
https://github.com/langgenius/dify.git
synced 2026-06-26 23:01:11 +08:00
Remove premature db.session.commit() and db.session.close() calls that break transaction isolation and cause DetachedInstanceError: - DatasetRetrieval._on_query: remove commit(), stage audit rows on the scoped session for the caller to commit (#37886) - cloud_edition_billing_rate_limit_check: remove commit() after adding rate limit log, upstream session state is no longer flushed (#37885) - ToolEngine._create_message_files: replace commit()+close() with flush() to obtain IDs without ending the transaction (#37884) Add defensive validation for unsupported code languages in CodeExecutor.execute_code to prevent sending null language to the sandbox service (#37874) |
||
|---|---|---|
| .. | ||
| code_executor | ||
| __init__.py | ||
| creators.py | ||
| credential_utils.py | ||
| csv_sanitizer.py | ||
| download.py | ||
| encrypter.py | ||
| http_client_pooling.py | ||
| marketplace.py | ||
| model_provider_cache.py | ||
| moderation.py | ||
| module_import_helper.py | ||
| name_generator.py | ||
| position_helper.py | ||
| provider_cache.py | ||
| provider_encryption.py | ||
| ssrf_proxy.py | ||
| tool_parameter_cache.py | ||
| trace_id_helper.py | ||