mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
- Replace inefficient memory-based filtering with database-level filtering - Add proper access control conditions to SQL query - Reduce memory usage by filtering at database level instead of loading all notes - Maintain access control validation with post-filtering for complex cases This change significantly improves performance for users with many notes by reducing the number of database queries and memory usage. Signed-off-by: Sihyeon Jang <sihyeon.jang@navercorp.com> |
||
|---|---|---|
| .. | ||
| data | ||
| internal | ||
| migrations | ||
| models | ||
| retrieval | ||
| routers | ||
| socket | ||
| static | ||
| storage | ||
| test | ||
| utils | ||
| __init__.py | ||
| alembic.ini | ||
| config.py | ||
| constants.py | ||
| env.py | ||
| functions.py | ||
| main.py | ||
| tasks.py | ||