mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-08 00:18:12 +08:00
Feature: Allow page_size max value 100 (#15292)
Feature: Allow page_size max value 100
This commit is contained in:
@@ -1189,7 +1189,7 @@ def _ensure_dataset_ready_via_api(
|
||||
base_url: str, auth_header: str, dataset_name: str
|
||||
) -> dict:
|
||||
headers = {"Authorization": auth_header}
|
||||
list_url = _build_url(base_url, "/api/v1/datasets?page=1&page_size=200")
|
||||
list_url = _build_url(base_url, "/api/v1/datasets?page=1&page_size=100")
|
||||
|
||||
_, list_payload = _api_request_json(list_url, method="GET", headers=headers)
|
||||
existing = _find_dataset_by_name(list_payload, dataset_name)
|
||||
|
||||
Reference in New Issue
Block a user