acheong08 / ChatGPT-to-API

Scalable unofficial ChatGPT API for production.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

It seems auto continue doesn't work

genment opened this issue · comments

commented

request body:

{
     "model": "text-davinci-002-render-sha",
     "messages": [{"role": "user", "content": "introduce NYC in at least 800 words"}]
}

response body:

{
  "error": {
    "code": "error",
    "message": {
      "code": "history_disabled_conversation_not_found",
      "message": "Conversation not found"
    },
    "param": null,
    "type": "404 Not Found"
  }
}

logs:

chatgpttoapi-master  | Failed to parse JSON
chatgpttoapi-master  |  ping
chatgpttoapi-master  |
chatgpttoapi-master  | Failed to parse JSON
chatgpttoapi-master  | 2023-06-16 05:42:08.149149
chatgpttoapi-master  |
chatgpttoapi-master  | Continuing conversation
chatgpttoapi-master  | [GIN-debug] [WARNING] Headers were already written. Wanted to override status code 200 with 404
chatgpttoapi-master  | [GIN] 2023/06/16 - 05:42:12 | 200 |  20.60329566s |   192.168.99.21 | POST     "/v1/chat/completions"

Will set history disabled to false by default. Fixed