Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
Chore: rm useless import and vars (#22108)
Yongtao Huang10858ea1dc33
diff --git a/api/tests/integration_tests/vdb/couchbase/test_couchbase.py b/api/tests/integration_tests/vdb/couchbase/test_couchbase.pyindex d76c34ba0e0..eef1ee4e759 100644--- a/api/tests/integration_tests/vdb/couchbase/test_couchbase.py+++ b/api/tests/integration_tests/vdb/couchbase/test_couchbase.py@@ -4,7 +4,6 @@ import timefrom core.rag.datasource.vdb.couchbase.couchbase_vector import CouchbaseConfig, CouchbaseVectorfrom tests.integration_tests.vdb.test_vector_store import (AbstractVectorTest,- get_example_text,setup_mock_redis,)diff --git a/api/tests/integration_tests/vdb/matrixone/test_matrixone.py b/api/tests/integration_tests/vdb/matrixone/test_matrixone.pyindex c8b19ef3ad3..c4056db63e2 100644--- a/api/tests/integration_tests/vdb/matrixone/test_matrixone.py+++ b/api/tests/integration_tests/vdb/matrixone/test_matrixone.py@@ -1,7 +1,6 @@from core.rag.datasource.vdb.matrixone.matrixone_vector import MatrixoneConfig, MatrixoneVectorfrom tests.integration_tests.vdb.test_vector_store import (AbstractVectorTest,- get_example_text,setup_mock_redis,)diff --git a/api/tests/integration_tests/vdb/opengauss/test_opengauss.py b/api/tests/integration_tests/vdb/opengauss/test_opengauss.pyindex f2013848bf9..2a1129493cd 100644--- a/api/tests/integration_tests/vdb/opengauss/test_opengauss.py+++ b/api/tests/integration_tests/vdb/opengauss/test_opengauss.py@@ -5,7 +5,6 @@ import psycopg2 # type: ignorefrom core.rag.datasource.vdb.opengauss.opengauss import OpenGauss, OpenGaussConfigfrom tests.integration_tests.vdb.test_vector_store import (AbstractVectorTest,- get_example_text,setup_mock_redis,)diff --git a/api/tests/integration_tests/vdb/pyvastbase/test_vastbase_vector.py b/api/tests/integration_tests/vdb/pyvastbase/test_vastbase_vector.pyindex 3d7873442b5..02931fef5a2 100644--- a/api/tests/integration_tests/vdb/pyvastbase/test_vastbase_vector.py+++ b/api/tests/integration_tests/vdb/pyvastbase/test_vastbase_vector.py@@ -1,7 +1,6 @@from core.rag.datasource.vdb.pyvastbase.vastbase_vector import VastbaseVector, VastbaseVectorConfigfrom tests.integration_tests.vdb.test_vector_store import (AbstractVectorTest,- get_example_text,setup_mock_redis,)diff --git a/api/tests/integration_tests/workflow/nodes/test_llm.py b/api/tests/integration_tests/workflow/nodes/test_llm.pyindex 389d1071f3c..638323f8503 100644--- a/api/tests/integration_tests/workflow/nodes/test_llm.py+++ b/api/tests/integration_tests/workflow/nodes/test_llm.py@@ -1,5 +1,4 @@import json-import osimport timeimport uuidfrom collections.abc import Generator@@ -113,8 +112,6 @@ def test_execute_llm(flask_req_ctx):},)- credentials = {"openai_api_key": os.environ.get("OPENAI_API_KEY")}-# Create a proper LLM result with real entitiesmock_usage = LLMUsage(prompt_tokens=30,diff --git a/api/tests/unit_tests/factories/test_variable_factory.py b/api/tests/unit_tests/factories/test_variable_factory.pyindex 481fbdc91a3..edd4c5e93e6 100644--- a/api/tests/unit_tests/factories/test_variable_factory.py+++ b/api/tests/unit_tests/factories/test_variable_factory.py@@ -14,9 +14,7 @@ from core.variables import (ArrayStringVariable,FloatVariable,IntegerVariable,- ObjectSegment,SecretVariable,- SegmentType,StringVariable,)from core.variables.exc import VariableError@@ -418,8 +416,6 @@ def test_build_segment_file_array_with_different_file_types():@st.compositedef _generate_file(draw) -> File:- file_id = draw(st.text(min_size=1, max_size=10))- tenant_id = draw(st.text(min_size=1, max_size=10))file_type, mime_type, extension = draw(st.sampled_from([diff --git a/api/tests/unit_tests/services/test_dataset_service_update_dataset.py b/api/tests/unit_tests/services/test_dataset_service_update_dataset.pyindex cdbb439c85f..87b46f213b3 100644--- a/api/tests/unit_tests/services/test_dataset_service_update_dataset.py+++ b/api/tests/unit_tests/services/test_dataset_service_update_dataset.py@@ -10,7 +10,6 @@ from core.model_runtime.entities.model_entities import ModelTypefrom models.dataset import Dataset, ExternalKnowledgeBindingsfrom services.dataset_service import DatasetServicefrom services.errors.account import NoPermissionError-from tests.unit_tests.conftest import redis_mockclass DatasetUpdateTestDataFactory: