[Feature Request]: 增加Gemini 1.5Pro和剩余token
Problem Description
官方现在已经开放了1.5的API,https://ai.google.dev/models?hl=zh-cn ,希望可以加上,剩余token像这个项目一样https://github.com/lobehub/lobe-chat
Solution Description
增加Gemini1.5Pro和剩余token显示
Alternatives Considered
No response
Additional Context
No response
Bot detected the issue body's language is not English, translate it automatically.
Title: [Feature Request]: Add Gemini 1.5Pro and remaining tokens
Problem Description
The official API of 1.5 has now been opened, https://ai.google.dev/models?hl=zh-cn, I hope it can be added, and the remaining tokens can be like this project https://github.com/lobehub/lobe- chat
Solution Description
Add Gemini1.5Pro and remaining token display
Alternatives Considered
No response
Additional Context
No response
gemini1.5还真的可以,我刚刚用了别人的pull requests试了一下,已经可以了 https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web/pull/4244
Bot detected the issue body's language is not English, translate it automatically.
Gemini1.5 only released the model, but has not yet opened the API.
@mountainguan This PR still has issues that need to be fixed, and actually uses the 1.0 model
我收到1.5 api的通过的申请邮件了,我想知道怎么才能配置1.5
Bot detected the issue body's language is not English, translate it automatically.
I received the approved application email for 1.5 api. I want to know how to configure 1.5.
我收到1.5 api的通过的申请邮件了,我想知道怎么才能配置1.5
修改该项目 ./app/constant.ts 把ChatPath修改为 "v1beta/models/gemini-1.5-pro-latest:generateContent",就ok了
Bot detected the issue body's language is not English, translate it automatically.
I received the approved application email for 1.5 api. I want to know how to configure 1.5
Modify the project ./app/constant.ts and change the ChatPath to "v1beta/models/gemini-1.5-pro-latest:generateContent", it will be ok
可以看看#4412
Bot detected the issue body's language is not English, translate it automatically.
You can check out #4412
可以看看#4412
感谢大佬
Bot detected the issue body's language is not English, translate it automatically.
You can check out #4412
Thanks boss
This PR still has issues that need to be fixed, and actually uses the 1.0 model
Please review my PR #4412 ,Thank you.
剩余token显示想要加一
Bot detected the issue body's language is not English, translate it automatically.
The remaining tokens show that they want to add one
gemini-1.5-pro 的正确 model name 是 gemini-1.5-pro-latest
https://github.com/google-gemini/cookbook/issues/52#issuecomment-2053605198
Bot detected the issue body's language is not English, translate it automatically.
The correct model name for gemini-1.5-pro is gemini-1.5-pro-latest
https://github.com/google-gemini/cookbook/issues/52#issuecomment-2053605198
This PR still has issues that need to be fixed, and actually uses the 1.0 model
Please review my PR #4412 ,Thank you.
Thanks for your work!
now, Gemini-1.5 supported