forked from phoenix/litellm-mirror
fix: duplicate mention of VERTEXAI_PROJECT
environment variable causing confusion
This commit is contained in:
parent
2d976cfabc
commit
8ff9555bcf
1 changed files with 1 additions and 1 deletions
|
@ -6563,7 +6563,7 @@ def validate_environment(model: Optional[str] = None) -> dict:
|
|||
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"])
|
||||
elif custom_llm_provider == "huggingface":
|
||||
if "HUGGINGFACE_API_KEY" in os.environ:
|
||||
keys_in_environment = True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue