[Bug]: 发送 QQ Poke 表情时 Gemini 模型报错 #753
Labels
bug?
Bug或Bug修复相关
m: Provider
OpenAI API 或其他 LLM 模型相关
pd: 待复现
pending: 需要测试以复现的issue,若您遇到相同问题,请提供更多的有价值的信息
部署方式
手动部署
消息平台适配器
aiocqhttp(使用 OneBot 协议接入的)
系统环境
window10
Python环境
python10
QChatGPT版本
3.1.0
异常情况
发QQ表情包就请求失败
日志信息
[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
The text was updated successfully, but these errors were encountered: