|
|
@@ -315,13 +315,16 @@ class DocumentsRouter(BaseRouterV3):
|
|
|
)
|
|
|
|
|
|
# Get chunks using the vector handler's list_chunks method
|
|
|
- user_chunk_count = (
|
|
|
+ user_chunk_count = 0
|
|
|
+ '''
|
|
|
+ (
|
|
|
await self.services.ingestion.list_chunks(
|
|
|
filters={"owner_id": {"$eq": str(auth_user.id)}},
|
|
|
offset=0,
|
|
|
limit=1,
|
|
|
)
|
|
|
)["total_entries"]
|
|
|
+ '''
|
|
|
user_max_chunks = (
|
|
|
await self.services.management.get_user_max_chunks(
|
|
|
auth_user.id
|