mirror of
https://github.com/langgenius/dify.git
synced 2026-06-26 14:51:13 +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) |
||
|---|---|---|
| .. | ||
| common | ||
| console | ||
| files | ||
| inner_api | ||
| mcp | ||
| openapi | ||
| service_api | ||
| trigger | ||
| web | ||
| __init__.py | ||
| API_SCHEMA_GUIDE.md | ||
| fastopenapi.py | ||