Skip to content

Gemini's request will be model-dependent and supports gemini-1.5-pro-latest#4412

Merged
Dean-YZG merged 6 commits intoChatGPTNextWeb:mainfrom
RubuJam:main
Apr 15, 2024
Merged

Gemini's request will be model-dependent and supports gemini-1.5-pro-latest#4412
Dean-YZG merged 6 commits intoChatGPTNextWeb:mainfrom
RubuJam:main

Conversation

@RubuJam
Copy link
Contributor

@RubuJam RubuJam commented Mar 28, 2024

Refer to https://ai.google.dev/models/gemini change the model name .

This submission can be adapted to future models.
Fixed : #4031

photo

参考 https://ai.google.dev/models/gemini 规范化其模型名称。

同时此提交可以适应未来的Gemini模型(网络请求会随着所选模型而改变)。

@vercel
Copy link

vercel bot commented Mar 28, 2024

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

A member of the Team first needs to authorize it.

@RubuJam
Copy link
Contributor Author

RubuJam commented Mar 28, 2024

#4409

@Issues-translate-bot
Copy link

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


#4409

@github-actions
Copy link
Contributor

Your build has completed!

Preview deployment

@Dean-YZG
Copy link
Contributor

Dean-YZG commented Apr 8, 2024

please resolve conflicts and then we will merge it

@ShinChven
Copy link

我用 vertex api 调通了。 AI studio 那边就是不给我 API 权限。

@Issues-translate-bot
Copy link

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


I used vertex api to adjust it. AI studio just doesn't give me API permissions.

@RubuJam
Copy link
Contributor Author

RubuJam commented Apr 10, 2024

我用 vertex api 调通了。 AI studio 那边就是不给我 API 权限。

我是2月16日申请的,在3月9日拿到Ai Studio的许可;3月26日收到邮件告知可申请API的访问许可,马上就申请了,最后在3月28日拿到API的访问许可

@Issues-translate-bot
Copy link

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


I used vertex api to adjust it. AI studio just doesn't give me API permissions.

I applied on February 16th, and got the Ai Studio license on March 9th. I received an email on March 26th telling me that I could apply for an API access license, so I applied immediately, and finally got the API on March 28th. access permission

@ShinChven
Copy link

ShinChven commented Apr 11, 2024

我用 vertex api 调通了。 AI studio 那边就是不给我 API 权限。

我是2月16日申请的,在3月9日拿到Ai Studio的许可;3月26日收到邮件告知可申请API的访问许可,马上就申请了,最后在3月28日拿到API的访问许可

我已经拿到 vertex api 的 gemini-1.5-pro 了。就是认证很麻烦,要用 json api key 。
中午手搓了一个vertex api proxy 实现 permanent secret 访问

@Issues-translate-bot
Copy link

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


I used vertex api to adjust it. AI studio just doesn't give me API permissions.

I applied on February 16th, and got the Ai Studio license on March 9th; I received an email on March 26th telling me that I could apply for an API access license, so I applied immediately, and finally got it on March 28th. API access permission

I have got gemini-1.5-pro of vertex api. It’s just that authentication is very troublesome, you need to use json api key.
I made a vertex api proxy at noon.

@RubuJam
Copy link
Contributor Author

RubuJam commented Apr 11, 2024

please resolve conflicts and then we will merge it

The conflicts have been resolved and the merge can now proceed. Thank you @Dean-YZG

冲突已经解决,现在可以执行合并,谢谢@Dean-YZG

@Dean-YZG Dean-YZG merged commit 1e2a662 into ChatGPTNextWeb:main Apr 15, 2024
byte-hzzh added a commit to byte-hzzh/ChatGPT-Next-Web that referenced this pull request May 14, 2024
This reverts commit 1e2a662, reversing
changes made to 51f7daa.
gaogao1030 pushed a commit to gaogao1030/ChatGPT-Next-Web that referenced this pull request May 16, 2024
Gemini will generate the request address based on the selected model name and supports Gemini 1.5 Pro (gemini-1.5-pro-latest).
@RubuJam RubuJam changed the title Gemini will generate the request address based on the selected model name and supports Gemini 1.5 Pro (gemini-1.5-pro-latest). Gemini's request will be model-dependent and supports gemini-1.5-pro-latest Jun 21, 2024
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.

[Bug] API Version Service Provider Google

4 participants