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) |
||
|---|---|---|
| .. | ||
| cleaner | ||
| data_post_processor | ||
| datasource | ||
| docstore | ||
| embedding | ||
| entities | ||
| extractor | ||
| index_processor | ||
| models | ||
| pipeline | ||
| rerank | ||
| retrieval | ||
| splitter | ||
| summary_index | ||
| __init__.py | ||