fix(chromadb): honor cloud tenant and database

Closes #4486
This commit is contained in:
t8y2 committed 2026-08-13 18:26:48 +00:00
1 parent 98f5c52f8e
commit 9b983441d7
7 files changed
+217 -62

No files matched your search

+4 -2
View File
@@ -1040,7 +1040,8 @@ async fn test_connection_with_info_inner(
Some(&config.password),
config.ssl,
connect_timeout,
);
)
.with_database(config.database.as_deref());
db::vector_driver::test_connection(&client, connect_timeout)
.await
.map(|_| "Connection successful".to_string())
@@ -1420,7 +1421,8 @@ pub async fn connect_db(
Some(&db_config.password),
db_config.ssl,
connect_timeout,
);
)
.with_database(db_config.database.as_deref());
db::vector_driver::test_connection(&client, connect_timeout).await?;
PoolKind::VectorDb(client)
}