mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
Updated vertex with gemini api alternative config
This commit is contained in:
parent
1c6667021a
commit
164b0294e4
1 changed files with 13 additions and 1 deletions
|
|
@ -196,7 +196,19 @@ model_list:
|
|||
vertex_location: "us-central1"
|
||||
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
|
||||
```
|
||||
|
||||
or
|
||||
```yaml
|
||||
model_list:
|
||||
- model_name: gemini-pro
|
||||
litellm_params:
|
||||
model: vertex_ai/gemini-1.5-pro
|
||||
litellm_credential_name: vertex-global
|
||||
vertex_project: project-name-here
|
||||
vertex_location: global
|
||||
base_model: gemini
|
||||
model_info:
|
||||
provider: Vertex
|
||||
```
|
||||
2. Start Proxy
|
||||
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue