Skip to content
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

Closed
1 of 3 tasks
do02fw opened this issue May 15, 2024 · 5 comments
Closed
1 of 3 tasks

[Bug] 无法使用v1beta接口 #4699

do02fw opened this issue May 15, 2024 · 5 comments
Labels
bug Something isn't working

Comments

@do02fw
Copy link

do02fw commented May 15, 2024

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

  • Docker
  • Vercel
  • Server

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

{
  "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."
}
@do02fw do02fw added the bug Something isn't working label May 15, 2024
@Issues-translate-bot
Copy link

Bot detected the issue body's language is not English, translate it automatically.


Title: [Bug] Unable to use v1beta interface

@QAbot-zh
Copy link

v1beta 对应的模型名称是 gemini-1.5-pro-latest

@Issues-translate-bot
Copy link

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

@hossain666

This comment was marked as spam.

@QAbot-zh
Copy link

gemini-1.5-pro-latest

use the model name "gemini-1.5-pro-latest"

@fred-bf fred-bf closed this as completed May 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

5 participants