feat/enh: kb files db migration

This commit is contained in:
Timothy Jaeryang Baek committed 2025-12-02 10:53:32 -05:00
1 parent 29236aefe8
commit d19023288e
5 files changed
+335 -196

No files matched your search

+1
View File
@@ -53,6 +53,7 @@ router = APIRouter()
############################
# TODO: Optimize this function to use the knowledge_file table for faster lookups.
def has_access_to_file(
file_id: Optional[str], access_type: str, user=Depends(get_verified_user)
) -> bool: