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]

docs(vertex.md): fix example with GOOGLE_APPLICATION_CREDENTIALS

Krrish Dholakia0bdb17eca863
diff --git a/docs/my-website/docs/providers/vertex.md b/docs/my-website/docs/providers/vertex.md
index baa5e3623bf..8e48780b0fa 100644
--- a/docs/my-website/docs/providers/vertex.md
+++ b/docs/my-website/docs/providers/vertex.md
@@ -2129,6 +2129,9 @@ Here's the code for storing your service account credentials as `GOOGLE_APPLICAT
```python
+import os
+import tempfile
+
def load_vertex_ai_credentials():
# Define the path to the vertex_key.json file
print("loading vertex ai credentials")