Closed do02fw closed 2 months ago
Bot detected the issue body's language is not English, translate it automatically.
Title: [Bug] Unable to use v1beta interface
v1beta 对应的模型名称是 gemini-1.5-pro-latest
Bot detected the issue body's language is not English, translate it automatically.
The model name corresponding to v1beta is gemini-1.5-pro-latest
{ "error": true, "message": "models/gemini-1.5-pro is not found for API version v1beta, or is not supported for StreamGenerateContent. Call ListModels to see the list of available models and their supported methods." }``
gemini-1.5-pro-latest
use the model name "gemini-1.5-pro-latest"
Bug Description
发送消息返回 json { "error": true, "message": "models/gemini-1.5-pro is not found for API version v1beta, or is not supported for StreamGenerateContent. Call ListModels to see the list of available models and their supported methods." }
Steps to Reproduce
调用加入beta版的Gemini账号的API,会报错
Expected Behavior
调用v1beta的API
Screenshots
No response
Deployment Method
Desktop OS
windows11
Desktop Browser
edge
Desktop Browser Version
125
Smartphone Device
No response
Smartphone OS
No response
Smartphone Browser
No response
Smartphone Browser Version
No response
Additional Logs