Skip to content

Commit

Permalink
fix: Fix can't read the milvus url config (#1808)
Browse files Browse the repository at this point in the history
  • Loading branch information
Aries-ckt authored Aug 15, 2024
1 parent 6ddde54 commit 6ed3592
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions dbgpt/storage/vector_store/milvus_store.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"),
Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit 6ed3592

Please sign in to comment.