Skip to content

Commit 164b029

Browse files
committed
Updated vertex with gemini api alternative config
1 parent 1c66670 commit 164b029

File tree

1 file changed

+13
-1
lines changed

1 file changed

+13
-1
lines changed

docs/my-website/docs/providers/vertex.md

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -196,7 +196,19 @@ model_list:
196196
vertex_location: "us-central1"
197197
vertex_credentials: "/path/to/service_account.json" # [OPTIONAL] Do this OR `!gcloud auth application-default login` - run this to add vertex credentials to your env
198198
```
199-
199+
or
200+
```yaml
201+
model_list:
202+
- model_name: gemini-pro
203+
litellm_params:
204+
model: vertex_ai/gemini-1.5-pro
205+
litellm_credential_name: vertex-global
206+
vertex_project: project-name-here
207+
vertex_location: global
208+
base_model: gemini
209+
model_info:
210+
provider: Vertex
211+
```
200212
2. Start Proxy
201213
202214
```

0 commit comments

Comments
 (0)