Skip to content

Commit

Permalink
add google/gemini-2.0-flash-exp as default model for vertex (#1214)
Browse files Browse the repository at this point in the history
  • Loading branch information
jayeshp19 authored Dec 12, 2024
1 parent 33fdc53 commit a7d563b
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 1 deletion.
5 changes: 5 additions & 0 deletions .changeset/chilled-students-clap.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"livekit-plugins-openai": patch
---

add `google/gemini-2.0-flash-exp` as default model for vertex
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ def with_cerebras(
@staticmethod
def with_vertex(
*,
model: str | VertexModels = "google/gemini-1.5-pro",
model: str | VertexModels = "google/gemini-2.0-flash-exp",
project_id: str | None = None,
location: str = "us-central1",
user: str | None = None,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,7 @@
]

VertexModels = Literal[
"google/gemini-2.0-flash-exp",
"google/gemini-1.5-flash",
"google/gemini-1.5-pro",
"google/gemini-1.0-pro-vision",
Expand Down

0 comments on commit a7d563b

Please sign in to comment.