Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix: leave vector_store_config untouched when credential lookup misses

Yuneng Jiang0b9a7044b7e7
diff --git a/litellm/rag/ingestion/base_ingestion.py b/litellm/rag/ingestion/base_ingestion.py
index 46b4b3d9565..1317c557d67 100644
--- a/litellm/rag/ingestion/base_ingestion.py
+++ b/litellm/rag/ingestion/base_ingestion.py
@@ -83,6 +83,8 @@ class BaseRAGIngestion(ABC):
credential_values = CredentialAccessor.get_credential_values(
credential_name
)
+ if not credential_values:
+ return
for key, value in credential_values.items():
self.vector_store_config[key] = value
if (