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]

Update utils.py (#6468)

vibhanshu-ob134bd2cebb6b
diff --git a/litellm/utils.py b/litellm/utils.py
index 5f86fd894cb..cdf77f1a515 100644
--- a/litellm/utils.py
+++ b/litellm/utils.py
@@ -5361,7 +5361,7 @@ def validate_environment( # noqa: PLR0915
if "CODESTRAL_API_KEY" in os.environ:
keys_in_environment = True
else:
- missing_keys.append("GROQ_API_KEY")
+ missing_keys.append("CODESTRAL_API_KEY")
elif custom_llm_provider == "deepseek":
if "DEEPSEEK_API_KEY" in os.environ:
keys_in_environment = True
@@ -5451,7 +5451,7 @@ def validate_environment( # noqa: PLR0915
if "VERTEXAI_PROJECT" in os.environ and "VERTEXAI_LOCATION" in os.environ:
keys_in_environment = True
else:
- missing_keys.extend(["VERTEXAI_PROJECT", "VERTEXAI_PROJECT"])
+ missing_keys.extend(["VERTEXAI_PROJECT", "VERTEXAI_LOCATION"])
## huggingface
elif model in litellm.huggingface_models:
if "HUGGINGFACE_API_KEY" in os.environ: