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
fix: unit tests env will need clear too (#11445)
yihong7ff42b1b7a06
diff --git a/api/tests/unit_tests/configs/test_dify_config.py b/api/tests/unit_tests/configs/test_dify_config.pyindex 0eb310a51a3..385eb08c368 100644--- a/api/tests/unit_tests/configs/test_dify_config.py+++ b/api/tests/unit_tests/configs/test_dify_config.py@@ -37,7 +37,11 @@ def test_dify_config_undefined_entry(example_env_file):assert config["LOG_LEVEL"] == "INFO"+# 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`.def test_dify_config(example_env_file):+ # clear system environment variables+ os.environ.clear()# load dotenv file with pydantic-settingsconfig = DifyConfig(_env_file=example_env_file)