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

Gemini,只有第一句话会回应,之后一律出错 #38

Open
itispip opened this issue Jul 2, 2024 · 5 comments
Open

Gemini,只有第一句话会回应,之后一律出错 #38

itispip opened this issue Jul 2, 2024 · 5 comments
Labels
question Further information is requested

Comments

@itispip
Copy link

itispip commented Jul 2, 2024

报错:
Sorry, I had a problem talking to OpenAI: Error code: 500 - {'error': 'status 400: {\n "error": {\n "code": 400,\n "message": "Please use a valid role: user, model.",\n "status": "INVALID_ARGUMENT"\n }\n}\n'}

@fruitbars
Copy link
Owner

是v0.9.0吗?

@fruitbars fruitbars added the question Further information is requested label Jul 3, 2024
@itispip
Copy link
Author

itispip commented Jul 5, 2024

是的,Windows版本的。

@fruitbars
Copy link
Owner

试试v0.9.1,可以对单个service配置代理,并且有详细错误信息

@snaigle
Copy link

snaigle commented Jul 12, 2024

报错: Sorry, I had a problem talking to OpenAI: Error code: 500 - {'error': 'status 400: {\n "error": {\n "code": 400,\n "message": "Please use a valid role: user, model.",\n "status": "INVALID_ARGUMENT"\n }\n}\n'}

这个问题感觉是msg list 不合法导致的, 要保证msg list是奇数

@fruitbars
Copy link
Owner

有可能,有的客户端消息传递会有问题。从0.9.1开始 simple-one-api会检查消息

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants