mirror of
https://github.com/csunny/DB-GPT.git
synced 2025-07-22 20:01:46 +00:00
fix: Fix can't read the milvus url config (#1808)
This commit is contained in:
parent
6ddde544bd
commit
6ed35925fb
@ -35,7 +35,7 @@ logger = logging.getLogger(__name__)
|
||||
"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(
|
||||
|
Loading…
Reference in New Issue
Block a user