[PR #3490] Removed the mandatory check in the code that the username and password of the milvus configuration are not empty #24156

Closed
opened 2026-02-21 20:22:28 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/langgenius/dify/pull/3490

State: closed
Merged: No


Description

This change allows the username and password for Milvus to be optional, removing the mandatory validation that previously caused errors when these credentials were left blank. This adjustment aims to improve usability and flexibility in scenarios where Milvus does not require authentication, ensuring the application's smooth operation without unnecessary hindrances.

Fixes # (issue)

Type of Change

  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

You may initiate the code to verify the connection with a default empty Milvus instance.

**Original Pull Request:** https://github.com/langgenius/dify/pull/3490 **State:** closed **Merged:** No --- # Description This change allows the username and password for Milvus to be optional, removing the mandatory validation that previously caused errors when these credentials were left blank. This adjustment aims to improve usability and flexibility in scenarios where Milvus does not require authentication, ensuring the application's smooth operation without unnecessary hindrances. Fixes # (issue) ## Type of Change - Bug fix (non-breaking change which fixes an issue) # How Has This Been Tested? You may initiate the code to verify the connection with a default empty Milvus instance.
yindo added the pull-request label 2026-02-21 20:22:28 -05:00
yindo closed this issue 2026-02-21 20:22:28 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: langgenius/dify#24156