Files
open-webui-custom/backend
Classic298 1dc353433a fix(db): release connection before embedding in memory /query (#20579)
Remove Depends(get_session) from POST /query endpoint to prevent database connections from being held during embedding API calls (1-5+ seconds).

The Memories.get_memories_by_user_id() function manages its own short-lived session internally, releasing the connection before the slow EMBEDDING_FUNCTION() call begins.
2026-01-11 23:37:47 +04:00
..
2025-09-12 14:09:32 +08:00
2026-01-09 18:10:27 +04:00
2026-01-09 18:10:27 +04:00
2025-06-27 15:46:38 +04:00
2025-10-07 16:20:27 -05:00