Gemini will generate the request address based on the selected model name and supports Gemini 1.5 Pro (gemini-1.5-pro-latest).
Refer to https://ai.google.dev/models/gemini change the model name .
This submission can be adapted to future models.
Fixed : #4031
参考 https://ai.google.dev/models/gemini 规范化其模型名称。同时此提交可以适应未来的Gemini模型(网络请求会随着所选模型而改变)。
@Rubuark is attempting to deploy a commit to the NextChat Team on Vercel.
A member of the Team first needs to authorize it.
#4409
Bot detected the issue body's language is not English, translate it automatically.
#4409
please resolve conflicts and then we will merge it
我用 vertex api 调通了。 AI studio 那边就是不给我 API 权限。
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.
我用 vertex api 调通了。 AI studio 那边就是不给我 API 权限。
我是2月16日申请的,在3月9日拿到Ai Studio的许可;3月26日收到邮件告知可申请API的访问许可,马上就申请了,最后在3月28日拿到API的访问许可
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
我用 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 访问
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.
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