diff --git a/runtime/datamate-python/app/module/annotation/service/knowledge_sync.py b/runtime/datamate-python/app/module/annotation/service/knowledge_sync.py index da6254f..369b78d 100644 --- a/runtime/datamate-python/app/module/annotation/service/knowledge_sync.py +++ b/runtime/datamate-python/app/module/annotation/service/knowledge_sync.py @@ -132,7 +132,7 @@ class KnowledgeSyncService: async def _list_knowledge_sets(self, keyword: Optional[str]) -> list[Dict[str, Any]]: params: Dict[str, Any] = { - "page": 0, + "page": 1, "size": self.KNOWLEDGE_SET_LIST_SIZE, } if keyword: @@ -189,7 +189,7 @@ class KnowledgeSyncService: file_id: str, ) -> Optional[Dict[str, Any]]: params = { - "page": 0, + "page": 1, "size": 1, "sourceDatasetId": dataset_id, "sourceFileId": file_id,