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]: 发送 QQ Poke 表情时 Gemini 模型报错 #753

Open
coolbeiyu1 opened this issue Apr 7, 2024 · 3 comments
Open

[Bug]: 发送 QQ Poke 表情时 Gemini 模型报错 #753

coolbeiyu1 opened this issue Apr 7, 2024 · 3 comments
Labels
bug? Bug或Bug修复相关 m: Provider OpenAI API 或其他 LLM 模型相关 待复现 需要测试以复现的issue,若您遇到相同问题,请提供更多的有价值的信息

Comments

@coolbeiyu1
Copy link

部署方式

手动部署

消息平台适配器

aiocqhttp(使用 OneBot 协议接入的)

系统环境

window10

Python环境

python10

QChatGPT版本

3.1.0

异常情况

发QQ表情包就请求失败
d66d5e70971d755bab59bc39c06282db

日志信息

[2024-04-07 16:09:54.822] C:\Users\Administrator\Desktop\QQjqr\QChatGPT-master\pkg\pipeline\process\handlers\chat.py (97) - [ERROR] :
对话(5)请求失败: 模型请求失败: 请求参数错误: Error code: 400 - {'error': {'message': "* GenerateContentRequest.contents[12].parts[0].data: required oneof field 'data' must have one initialized field\n (request id: 2024040716102129395394QsCsmrtg) (request id: )", 'type': '', 'param': '', 'code': 400}}
[2024-04-07 16:09:55.161] C:\Users\Administrator\Desktop\QQjqr\QChatGPT-master\pkg\pipeline\controller.py (81) - [ERROR] :
模型请求失败: 请求参数错误: Error code: 400 - {'error': {'message': "* GenerateContentRequest.contents[12].parts[0].data: required oneof field 'data' must have one initialized field\n (request id: 2024040716102129395394QsCsmrtg) (request id: )", 'type': '', 'param': '', 'code': 400}}

启用的插件

No response

@coolbeiyu1 coolbeiyu1 added the bug? Bug或Bug修复相关 label Apr 7, 2024
@RockChinQ
Copy link
Owner

用的什么AI

@coolbeiyu1
Copy link
Author

gemini-pro

@RockChinQ RockChinQ added m: Provider OpenAI API 或其他 LLM 模型相关 待复现 需要测试以复现的issue,若您遇到相同问题,请提供更多的有价值的信息 labels Apr 7, 2024
@RockChinQ
Copy link
Owner

你觉得实现成什么样比较好?

@RockChinQ RockChinQ changed the title [Bug]: [Bug]: 发送 QQ Poke 表情时 Gemini 模型报错 May 31, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug? Bug或Bug修复相关 m: Provider OpenAI API 或其他 LLM 模型相关 待复现 需要测试以复现的issue,若您遇到相同问题,请提供更多的有价值的信息
Projects
None yet
Development

No branches or pull requests

2 participants