[Bug]: [31m[2024-09-11 10:56:27.214] /app/pkg/pipeline/controller.py (94) - [ERROR] : 模型请求失败: 请求参数错误: Error code: 400 - {'error': {'message': "* GenerateContentRequest.contents[0].parts[0].data: required oneof field 'data' must have one initialized field\n (request id: 202409111056268631070276dBm4C6R)", 'type': '', 'param': '', 'code': 400}}[0m
消息平台适配器
aiocqhttp(使用 OneBot 协议接入的)
运行环境
Docker
QChatGPT版本
v3.3.3.1
异常情况
使用new api自建api节点,使用gpt4o模型正常,调用gemini模型报错400,在new api端设置名称映射把gemini换成gpt4o依然报错,使用消息平台为nepcat
启用的插件
No response
同问
看文档配置llm-models
可以自己调试一下,最近在忙公司项目。
欢迎PR。
Thank you
发件人: Junyan Qin @.> 发送时间: 2024年9月25日 6:47 收件人: RockChinQ/QChatGPT @.> 抄送: Olga19821109 @.>; Comment @.> 主题: Re: [RockChinQ/QChatGPT] [Bug]: [31m[2024-09-11 10:56:27.214] /app/pkg/pipeline/controller.py (94) - [ERROR] : 模型请求失败: 请求参数错误: Error code: 400 - {'error': {'message': "* GenerateContentRequest.contents[0].parts[0].data: required oneof field 'data' mus...
可以自己调试一下,最近在忙公司项目。 欢迎PR。
― Reply to this email directly, view it on GitHubhttps://github.com/RockChinQ/QChatGPT/issues/882#issuecomment-2373173994, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMRTXV7CGNHAXM3OVQJWIXDZYJMARAVCNFSM6AAAAABN7742DSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTGE3TGOJZGQ. You are receiving this because you commented.
Thank you, I'll try
发件人: Xiaoyu Su @.> 发送时间: 2024年9月25日 6:06 收件人: RockChinQ/QChatGPT @.> 抄送: Olga19821109 @.>; Comment @.> 主题: Re: [RockChinQ/QChatGPT] [Bug]: [31m[2024-09-11 10:56:27.214] /app/pkg/pipeline/controller.py (94) - [ERROR] : 模型请求失败: 请求参数错误: Error code: 400 - {'error': {'message': "* GenerateContentRequest.contents[0].parts[0].data: required oneof field 'data' mus...
看文档配置llm-models
― Reply to this email directly, view it on GitHubhttps://github.com/RockChinQ/QChatGPT/issues/882#issuecomment-2373108412, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AMRTXV4Y43SJICZWRY5APLTZYJHHXAVCNFSM6AAAAABN7742DSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNZTGEYDQNBRGI. You are receiving this because you commented.Message ID: @.***>
请问解决了吗,我接入gemini也有类似的报错
解决了,是项目的问题,和oneapi有个地方不兼容,换个源api,使用https://github.com/duolabmeng6/pro-api 可以调用