mirror of
https://github.com/infiniflow/ragflow.git
synced 2026-08-09 00:47:59 +08:00
Revert "feat: Go knowledge compiler with scheduler-driven dataset compilation" (#17897)
Reverts infiniflow/ragflow#17881
This commit is contained in:
@@ -25,13 +25,6 @@ from utils import wait_for
|
||||
|
||||
GO_ONLY_SKIPS = {
|
||||
"Go route is not implemented": {
|
||||
# Dataset-level graph/raptor/mindmap indexing via POST/GET/DELETE
|
||||
# /datasets/:id/index is a Python-era RunIndex/TraceIndex/DeleteIndex
|
||||
# contract; the Go port schedules dataset compilation through the
|
||||
# knowledge_compile scheduler instead and does not serve /index.
|
||||
"test_dataset_index_endpoints",
|
||||
"test_dataset_index_trace_and_delete_type_contract",
|
||||
"test_dataset_index_run_with_document_creates_task",
|
||||
"test_document_download_by_id_invalid_id_contract",
|
||||
"test_llm_factories_live_auth_contract",
|
||||
"test_llm_list_live_auth_contract",
|
||||
|
||||
@@ -521,7 +521,7 @@ def test_agents_crud_unit_branches(monkeypatch):
|
||||
|
||||
captured = {}
|
||||
|
||||
def fake_get_by_tenant_ids(owner_ids, tenant_id, page, page_size, orderby, desc, keywords, canvas_category, tags):
|
||||
def fake_get_by_tenant_ids(owner_ids, tenant_id, page, page_size, orderby, desc, keywords, canvas_category_list, tags, canvas_type=None):
|
||||
captured["owner_ids"] = owner_ids
|
||||
captured["tenant_id"] = tenant_id
|
||||
captured["page"] = page
|
||||
@@ -529,7 +529,7 @@ def test_agents_crud_unit_branches(monkeypatch):
|
||||
captured["orderby"] = orderby
|
||||
captured["desc"] = desc
|
||||
captured["keywords"] = keywords
|
||||
captured["canvas_category"] = canvas_category
|
||||
captured["canvas_category_list"] = canvas_category_list
|
||||
captured["tags"] = tags
|
||||
return [{"id": "agent-1"}], 1
|
||||
|
||||
|
||||
Reference in New Issue
Block a user