-
Notifications
You must be signed in to change notification settings - Fork 56.7k
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
[Bug] 无法使用v1beta接口 #4699
Labels
bug
Something isn't working
Comments
Title: [Bug] Unable to use v1beta interface |
v1beta 对应的模型名称是 gemini-1.5-pro-latest |
The model name corresponding to v1beta is gemini-1.5-pro-latest |
This comment was marked as spam.
This comment was marked as spam.
use the model name "gemini-1.5-pro-latest" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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
The text was updated successfully, but these errors were encountered: