mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-27 11:43:54 +00:00
docs(vertex.md): fix example with GOOGLE_APPLICATION_CREDENTIALS
This commit is contained in:
parent
fc74f6be51
commit
51a55e125a
1 changed files with 3 additions and 0 deletions
|
@ -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")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue