Files
open-webui/backend/open_webui
Classic298 9bdb072690 refac: remove unused knowledge base accessors (#28794)
Three methods on KnowledgeTable have no callers anywhere in the repository. get_knowledge_bases_by_user_id loaded every knowledge base and filtered them in Python, which search_knowledge_bases already does in SQL with pagination. get_knowledge_by_id_and_user_id duplicates check_access_by_user_id with the permission hardcoded to write. update_knowledge_data_by_id writes a data column that a migration dropped, so it could only ever raise and return None through its own except block.

What remains is one per-entry access helper and one SQL-filtered list path, so nobody reaches for the slower or the broken variant by accident.

No behaviour change.
2026-08-19 11:07:21 -07:00
..
2026-08-10 23:22:08 -06:00
2026-08-14 00:22:17 -06:00
2026-07-27 19:39:36 -04:00
2026-07-31 17:41:14 -04:00
2026-08-17 00:24:47 -07:00
2026-07-27 19:39:36 -04:00
2026-08-17 00:47:32 -07:00
2026-08-16 23:21:00 -07:00
2026-08-17 00:47:32 -07:00
2026-08-14 00:22:17 -06:00