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
test:add unit test for api version config (#21919)
Bowen Liang6663187eca72
diff --git a/api/tests/unit_tests/configs/test_dify_config.py b/api/tests/unit_tests/configs/test_dify_config.pyindex cac0a688cd2..b70c8830ede 100644--- a/api/tests/unit_tests/configs/test_dify_config.py+++ b/api/tests/unit_tests/configs/test_dify_config.py@@ -1,6 +1,7 @@import osfrom flask import Flask+from packaging.version import Versionfrom yarl import URLfrom configs.app_config import DifyConfig@@ -40,6 +41,9 @@ def test_dify_config(monkeypatch):assert config.WORKFLOW_PARALLEL_DEPTH_LIMIT == 3+ # values from pyproject.toml+ assert Version(config.project.version) >= Version("1.0.0")+# NOTE: If there is a `.env` file in your Workspace, this test might not succeed as expected.# This is due to `pymilvus` loading all the variables from the `.env` file into `os.environ`.