diff --git a/dbgpt/storage/vector_store/milvus_store.py b/dbgpt/storage/vector_store/milvus_store.py index b8b036770..f0984d20e 100644 --- a/dbgpt/storage/vector_store/milvus_store.py +++ b/dbgpt/storage/vector_store/milvus_store.py @@ -35,7 +35,7 @@ "The uri of milvus store, if not set, will use the default " "uri." ), optional=True, - default="localhost", + default=None, ), Parameter.build_from( _("Port"), @@ -98,8 +98,8 @@ class MilvusVectorConfig(VectorStoreConfig): model_config = ConfigDict(arbitrary_types_allowed=True) - uri: str = Field( - default="localhost", + uri: Optional[str] = Field( + default=None, description="The uri of milvus store, if not set, will use the default uri.", ) port: str = Field(