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.

milvus secure check fix (#1305)

Jyong5003db987d60
diff --git a/api/core/index/vector_index/milvus_vector_index.py b/api/core/index/vector_index/milvus_vector_index.py
index 27109b602c2..d0a9c19ea0c 100644
--- a/api/core/index/vector_index/milvus_vector_index.py
+++ b/api/core/index/vector_index/milvus_vector_index.py
@@ -18,7 +18,7 @@ class MilvusConfig(BaseModel):
port: int
user: str
password: str
- secure: bool
+ secure: bool = False
batch_size: int = 100
@root_validator()
@@ -27,8 +27,6 @@ class MilvusConfig(BaseModel):
raise ValueError("config MILVUS_HOST is required")
if not values['port']:
raise ValueError("config MILVUS_PORT is required")
- if not values['secure']:
- raise ValueError("config MILVUS_SECURE is required")
if not values['user']:
raise ValueError("config MILVUS_USER is required")
if not values['password']: