-
Notifications
You must be signed in to change notification settings - Fork 382
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] gemini-pro-vision 无响应 #203
Comments
Title: [Bug]
Feedback Instructions Please enter x in the square brackets below to indicate that you already know the relevant content.
Describe the problem Author: After deploying the latest version of the server, GeminiProVision did not respond, and there was no error message. I waited until I got an empty content prompt, but it was really difficult to test with Curl. I only used python to test it with model permissions, and I got the result: How to reproduce Server website log: [20/Feb/2024:12:53:28 +0800] "POST /api/google/v1beta/models/gemini-pro-vision:streamGenerateContent HTTP/2.0" 400 158 "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36" Function log: 0|muro-lea | [S3] S3 link is useless.. No useful information It should be no problem to test S3, it is available on gpt-4-version Test pictures (Google official test cases): screenshot Some necessary information
|
找到了Curl 测试的方法,有点 curl https://generativelanguage.googleapis.com/v1beta/models/gemini-pro-vision:generateContent\?key\=**APIKEY**\ |
I found a way to test Curl, which is a bit curl https://generativelanguage.googleapis.com/v1beta/models/gemini-pro-vision:generateContent\?key\=**APIKEY**\ |
disturb
I found out that I can't submit it for the second time... Author, please continue to ask the next question and you will know. You can only ask once. |
应该是 gemini 的视觉模型不支持多轮对话,后面谷歌应该会支持,我先改下把这个异常抛出来。 |
It should be that gemini's visual model does not support multi-turn dialogue. Google should support it later. I will change it first and throw this exception. |
首次提问需要带图片也可以抛出来,需要不? 辛苦您啦~hh被google乐到了 |
If you ask a question for the first time, you need to bring a picture, but you can also throw it out. Do you need it? Thank you for your hard work~ hh is very happy with Google |
我在文档中标注一下吧,谷歌这个模型还在测试,添加太多逻辑去判断也不太合适。 |
Let me mark it in the document. Google's model is still being tested. It is not appropriate to add too much logic to judge. |
反馈须知
请在下方中括号内输入 x 来表示你已经知晓相关内容。
描述问题
请在此描述你遇到了什么问题。
作者大大,最新的版本部署服务器后,GeminiProVision没有响应,也没有报错提示,等到了空内容提示,但是实在很难用Curl测试,我只用python测试了下有模型权限,能得到结果:
如何复现
请告诉我们你是通过什么操作触发的该问题。
测试谷歌示例:
服务端网站日志:
[20/Feb/2024:12:53:28 +0800] "POST /api/google/v1beta/models/gemini-pro-vision:streamGenerateContent HTTP/2.0" 400 158 " Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/121.0.0.0 Safari/537.36"
功能日志:
0|muro-lea | [S3] S3链接没啥用..
0|muro-lea | [Server Config] using 1 of 1 api key
0|muro-lea | [Google Route] params {
0|muro-lea | path: [ 'v1beta', 'models', 'gemini-pro-vision:streamGenerateContent' ]
0|muro-lea | }
0|muro-lea | [Server Config] using 1 of 1 api key
0|muro-lea | [Proxy] v1beta/models/gemini-pro-vision:streamGenerateContent
0|muro-lea | [Base Url] https://generativelanguage.googleapis.com
0|muro-lea | [Server Config] using 1 of 1 api key
没什么有用的信息
测试S3应该没问题,在gpt-4-version上可用
测试图片(Google官方的测试用例):
Write a short, engaging blog post based on this picture.
截图
请在此提供控制台截图、屏幕截图或者服务端的 log 截图。
一些必要的信息
The text was updated successfully, but these errors were encountered: