acheong08 / ChatGPT

Reverse engineered ChatGPT API
GNU General Public License v2.0
28k stars 4.48k forks source link

[Bug]: #1486

Open volezheng opened 1 year ago

volezheng commented 1 year ago

Is there an existing issue for this?

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

No

Console logs

No

Additional information

No response