-
Notifications
You must be signed in to change notification settings - Fork 60.2k
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
Conversation
@xiaozhou26 is attempting to deploy a commit to the NextChat Team on Vercel. A member of the Team first needs to authorize it. |
Your build has completed! |
@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", |
There was a problem hiding this comment.
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
There was a problem hiding this comment.
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”?
Excuse me, is it available now? |
No description provided.