mirror of
https://github.com/open-webui/open-webui.git
synced 2026-05-08 04:16:03 -05:00
[PR #10515] [CLOSED] fix: milvus db minor fix #22552
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/open-webui/open-webui/pull/10515
Author: @s-sajid-ali
Created: 2/21/2025
Status: ❌ Closed
Base:
dev← Head:milvus_db_minor_fix📝 Commits (1)
b1559f7milvus: set database via using_database📊 Changes
1 file changed (+3 additions, -2 deletions)
View changed files
📝
backend/open_webui/retrieval/vector/dbs/milvus.py(+3 -2)📄 Description
Using
db_nameat Client instantiation was not enough to set the intended database. Set it explicitly viausing_databaseinstead: https://milvus.io/api-reference/pymilvus/v2.5.x/MilvusClient/Database/using_database.mddevbranch.Changelog entry:
Fixed
MilvusClient was previously attempting to create collections in the
defaultdatabase. Switch tousing_databaseto explicitly set the requested database.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.