-
-
Notifications
You must be signed in to change notification settings - Fork 12.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
模型选择 Gemini 1.5 ,但是请求地址还是 gemini-pro? #1794
Comments
Thank you for raising an issue. We will investigate into the matter and get back to you as soon as possible. |
#1284 (comment) |
#1284 (comment) |
写了下 RFC: #1796 |
This issue is closed, If you have any questions, you can comment and reply. |
🎉 This issue has been resolved in version 0.145.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
💻 系统环境
Windows
📦 部署环境
Vercel / Zeabur / Sealos
🌐 浏览器
Chrome
🐛 问题描述
模型选择 Gemini 1.5 或 Gemini ultra, 但是错误信息是从
gemini-pro
返回的,这是不是可以认为并没有成功请求到gemini-1.5-pro-latest
. (已确认 api 有 1.5 和 ultra 的调用权限)🚦 期望结果
如果选择的
gemini-pro-vision
,那么错误信息就是从/models/gemini-pro-vision
返回的,据此推断如果正常请求gemini-1.5-pro-latest
,那么错误信息也会从/models/gemini-1.5-pro-latest
返回。📷 复现步骤
根据错误信息, gemini 的对话必须从 user role 开始,那么如果把历史消息数限制在双数,就会返回上述错误,根据返回的错误信息,发现是从
/models/gemini-pro
的请求地址返回的,并不是选择的/models/gemini-1.5-pro-latest
的地址返回📝 补充信息
No response
The text was updated successfully, but these errors were encountered: