chatbox
chatbox copied to clipboard
[BUG] Using Grok2 API get error
Bug description An error occurred after using Grok2's API for an hour: An error from Custom Provider was encountered, which is usually caused by incorrect settings or account problems. Please check the AI settings and account status, or click here to view the FAQ document.
API Error: Status Code 400, {"code":"Client specified an invalid argument","error":"The model expects a single text
element per message."}
tokens used: unknown, model: Grok-Beta(grok-beta)
The problem persists after changing the API
Reproduction steps Please provide the steps that allow us to reproduce this bug:
-
Go to "Settings"
-
Click "API Key"
-
Paste the Grok2 API
-
Found this bug.
Expected results Can be used normally
Screenshot If possible, add screenshots to help explain the problem.
Desktop (please fill in the following information):
- Operating system: Windows 11 Home Chinese Edition 23H2
- Application version: 1.6.1
Bug 描述 使用Grok2的api后一个小时后出现报错: 遇到了来自 Custom Provider 的错误,一般是由错误设置或账户问题引起的。请检查 AI 设置和账户情况,或者点击这里查看常见问题文档。
API Error: Status Code 400, {"code":"Client specified an invalid argument","error":"The model expects a single text
element per message."}
tokens used: unknown, model: Grok-Beta(grok-beta)
更换api问题依旧
重现步骤 请提供能够让我们重现这个 bug 的步骤:
- 前往 "设置"
- 点击 "api密钥"
- 粘贴Grok2的api
- 发现了这个 bug。
期望结果 能够正常使用
截图 如果可行,添加截图以帮助解释问题。
桌面端(请填写以下信息):
- 操作系统:Windows11家庭中文版23H2
- 应用程序版本:1.6.1