Skip to content

Updated gemini-2.0-flash-exp(deprecated) with gemini-2.0-flash#77

Closed
blueviggen wants to merge 1 commit into
google:mainfrom
blueviggen:main
Closed

Updated gemini-2.0-flash-exp(deprecated) with gemini-2.0-flash#77
blueviggen wants to merge 1 commit into
google:mainfrom
blueviggen:main

Conversation

@blueviggen

Copy link
Copy Markdown

"gemini-2.0-flash-exp" (experimental model) is no longer valid as a model version. "gemini-2.0-flash" has replaced "gemini-2.0-flash-exp" (https://ai.google.dev/gemini-api/docs/models)

@blueviggen

Copy link
Copy Markdown
Author

fix #78

@hangfei

hangfei commented Apr 12, 2025

Copy link
Copy Markdown
Collaborator

@polong-lin could you review this change?

@polong-lin

Copy link
Copy Markdown
Collaborator

It's OK but I might recommend using gemini-2.0-flash-live-preview-04-09 instead, which will support Live API and might provide a better user experience.

For text-only, then gemini-2.0-flash is OK, so will leave the decision up to @hangfei

@hangfei

hangfei commented Apr 12, 2025

Copy link
Copy Markdown
Collaborator

Thanks @polong-lin .

Let's do this:

For live(streaming), use gemini-2.0-flash-live-preview-04-09.

model="gemini-2.0-flash-exp",

@hangfei

hangfei commented Apr 12, 2025

Copy link
Copy Markdown
Collaborator

it's fixed in another CL. Closing this for now.

@hangfei hangfei closed this Apr 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants