#1486·ChatGPT

[Bug]:

Author: volezhengCreated Aug 2, 2023Updated Aug 2, 2023

Is there an existing issue for this?

  • I have searched the existing issues and checked the recent builds/commits

What happened?

The input format is wrong when pass_history is false.

400 Bad Request { "error": { "message": "" is not of type 'object' - 'messages.0'", "type": "invalid_request_error", "param": null, "code": null } }

Steps to reproduce the problem

set pass_history to false

What should have happened?

use the correct API type

Version where the problem happens

v3

What Python version are you running this with?

No response

What is your operating system ?

No response

Command Line Arguments

bash
No

Console logs

bash
No

Additional information

No response