Skip to content

400 Bad Request #1497

@clark-2468

Description

@clark-2468

表现
一直返回400 Bad Request

运行环境:

  • 操作系统:CentOS
  • Docker: ?
  • 项目版本:3.2.0

复现步骤
一直用同一个账号给机器人账号发消息

预期行为
正常回复我

截图
出现故障!如果这个问题持续出现,请和我说“重置会话” 来开启一段新的会话,或者发送 “回滚对话” 来回溯到上一条对话,你上一条说的我就当作没看见。
原因:400 Bad Request {
"error": {
"message": "Unsupported parameter: 'max_tokens' is not supported with this model. Use 'max_completion_tokens' instead.",
"type": "invalid_request_error",
"param": "max_tokens",
"code": "unsupported_parameter"
}
}

其他内容
我用AI查了,需要改一个config,但我不知道管理给API发request的config在哪。

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions