Skip to content

armgit / dify

Public Imported from GitHub
0

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.

chore: install dify-agent as editable (#36735)

Escape0707332d1ea5334f
diff --git a/api/pyproject.toml b/api/pyproject.toml
index 95f764aef75..879e86a6024 100644
--- a/api/pyproject.toml
+++ b/api/pyproject.toml
@@ -59,7 +59,7 @@ members = ["providers/vdb/*", "providers/trace/*"]
exclude = ["providers/vdb/__pycache__", "providers/trace/__pycache__"]
[tool.uv.sources]
-dify-agent = { path = "../dify-agent" }
+dify-agent = { path = "../dify-agent", editable = true }
dify-vdb-alibabacloud-mysql = { workspace = true }
dify-vdb-analyticdb = { workspace = true }
dify-vdb-baidu = { workspace = true }
diff --git a/api/uv.lock b/api/uv.lock
index 7a54f130a13..1dbbd213564 100644
--- a/api/uv.lock
+++ b/api/uv.lock
@@ -1281,7 +1281,7 @@ wheels = [
[[package]]
name = "dify-agent"
version = "0.1.0"
-source = { directory = "../dify-agent" }
+source = { editable = "../dify-agent" }
dependencies = [
{ name = "httpx" },
{ name = "pydantic" },
@@ -1615,7 +1615,7 @@ requires-dist = [
{ name = "boto3", specifier = ">=1.43.14,<2.0.0" },
{ name = "celery", specifier = ">=5.6.3,<6.0.0" },
{ name = "croniter", specifier = ">=6.2.2,<7.0.0" },
- { name = "dify-agent", directory = "../dify-agent" },
+ { name = "dify-agent", editable = "../dify-agent" },
{ name = "fastopenapi", extras = ["flask"], specifier = "==0.7.0" },
{ name = "flask", specifier = ">=3.1.3,<4.0.0" },
{ name = "flask-compress", specifier = ">=1.24,<2.0.0" },