Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated version of Google gemini-1.5-pro #4244

Closed
wants to merge 0 commits into from

Conversation

xiaozhou26
Copy link

No description provided.

Copy link

vercel bot commented Mar 9, 2024

@xiaozhou26 is attempting to deploy a commit to the NextChat Team on Vercel.

A member of the Team first needs to authorize it.

Copy link
Contributor

github-actions bot commented Mar 9, 2024

Your build has completed!

Preview deployment

@H0llyW00dzZ
Copy link
Contributor

it still not available yet

image

@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


it still not available yet

image

@fred-bf
Copy link
Contributor

fred-bf commented Mar 9, 2024

@xiaozhou26 have you got the access to gemini-pro 1.5 api? I cannot validate the api before Google Published in ai studio

app/constant.ts Outdated
@@ -87,7 +87,7 @@ export const Azure = {

export const Google = {
ExampleEndpoint: "https://generativelanguage.googleapis.com/",
ChatPath: "v1beta/models/gemini-pro:generateContent",
ChatPath: "v1beta/models/gemini-pro:generateContent",
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gemini's model is dynamically spliced to the path, and it needs to be modified to be dynamic

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Gemini's model is dynamically spliced to the path, and it needs to be modified to be dynamic

so, if I want to use gemini-1.5-pro,i should change the ChatPath as “v1beta/models/models/gemini-1.5-pro:generateContent”?

@jeus1609
Copy link

Excuse me, is it available now?

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.

7 participants