generated from songquanpeng/gin-template
-
-
Notifications
You must be signed in to change notification settings - Fork 3.5k
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
Lobe Chat 里无法使用Google Gemini 提示 Invalid URL #1410
Labels
bug
Something isn't working
Comments
FernandoFan
changed the title
LobeHUB 里无法使用Google Gemini 提示 Invalid URL
Lobe Chat 里无法使用Google Gemini 提示 Invalid URL
May 5, 2024
那是不是你部署的地区ip被屏蔽了? |
你 oneapi 和 lobechat 是同一个服务器吗? |
是同一个服务器,并且我在服务器用curl也能通,都是通过我的代理地址去请求的 |
那有点神奇了,oneapi 的 docker 日志里有什么错误提示吗 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
例行检查
问题描述
我是使用one-api + lobehub
在使用lobehub时,使用openai是正常的,但是当我使用google gimini时候提示以下信息
{
"error": {
"message": "[GoogleGenerativeAI Error]: Error fetching from https://easyapi.live/v1beta/models/gemini-1.0-pro-001:streamGenerateContent?alt=sse: [404 ] Invalid URL (POST /v1beta/models/gemini-1.0-pro-001:streamGenerateContent)"
},
"provider": "google"
}
复现步骤
我设置了所有gemini的模型都不行
如果使用gemini官方api地址没有问题,但是若使用one-api的就不行(在one-api里面已经测试并且显示渠道测试成功)
预期结果
能正常的流式输出
相关截图
如果没有的话,请删除此节。
The text was updated successfully, but these errors were encountered: