Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
D
dify
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
ai-tech
dify
Commits
5003db98
Unverified
Commit
5003db98
authored
Oct 11, 2023
by
Jyong
Committed by
GitHub
Oct 11, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
milvus secure check fix (#1305)
Co-authored-by:
jyong
<
jyong@dify.ai
>
parent
07aab5e8
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
milvus_vector_index.py
api/core/index/vector_index/milvus_vector_index.py
+1
-3
No files found.
api/core/index/vector_index/milvus_vector_index.py
View file @
5003db98
...
...
@@ -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'
]:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment