mirror of
https://github.com/open-webui/open-webui.git
synced 2026-07-24 08:56:21 -05:00
Pass the request-scoped AsyncSession into Models.get_model_by_id so the endpoint no longer opens a fresh DB session on every call, avoiding an extra connection acquisition per profile image request. Co-authored-by: Claude <noreply@anthropic.com>