mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-07 08:26:10 +00:00
test(vector stores): pin no-db registry fallback case
This commit is contained in:
parent
ce0c557012
commit
1201a0ba5c
1 changed files with 5 additions and 2 deletions
|
|
@ -156,8 +156,11 @@ async def test_update_request_data_with_litellm_managed_vector_store_registry():
|
|||
vector_store_id="test_store_id"
|
||||
)
|
||||
|
||||
# Test with no vector store registry
|
||||
with patch.object(litellm, "vector_store_registry", None):
|
||||
# Test with no vector store registry or DB fallback
|
||||
with (
|
||||
patch.object(litellm, "vector_store_registry", None),
|
||||
patch("litellm.proxy.proxy_server.prisma_client", None),
|
||||
):
|
||||
original_data = {"existing_key": "existing_value"}
|
||||
result = await _update_request_data_with_litellm_managed_vector_store_registry(
|
||||
data=original_data, vector_store_id=vector_store_id
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue