mirror of
https://github.com/langgenius/dify.git
synced 2026-01-08 07:14:14 +00:00
fix the issue of MILVUS_DATABASE has no effect. (#4353)
This commit is contained in:
@@ -259,5 +259,5 @@ class MilvusVector(BaseVector):
|
||||
uri = "https://" + str(config.host) + ":" + str(config.port)
|
||||
else:
|
||||
uri = "http://" + str(config.host) + ":" + str(config.port)
|
||||
client = MilvusClient(uri=uri, user=config.user, password=config.password)
|
||||
client = MilvusClient(uri=uri, user=config.user, password=config.password,db_name=config.database)
|
||||
return client
|
||||
|
||||
Reference in New Issue
Block a user