chatgpt-free-api
service running on a proxy in the USA
curl http://127.0.0.1:3040/v1/chat/completions -i -X POST -H "Content-Type: application/json" -d '{
"model": "gpt-3.5-turbo",
"messages": [
{
"role": "user",
"content": "Hello!"
}
],
"stream": false
}'
returns:
HTTP/1.1 200 OK
content-type: application/json
access-control-allow-origin: *
access-control-allow-methods: GET,POST,PUT,PATCH,DELETE
access-control-allow-headers: Content-Type,Authorization
content-length: 98
date: Thu, 18 Apr 2024 09:05:57 GMT
{"status":false,"error":{"message":"error decoding response body","type":"invalid_request_error"}}
log of the service:
Access the API server at: http://0.0.0.0:3040/v1/chat/completions
Environment Variables:
- PORT: change the listening port, defaulting to 3040
- ALL_PROXY: configure the proxy server, supporting HTTP, HTTPS, and SOCKS5 protocols
- AUTHORIZATION: only for internal use to protect the API and will not be sent to OpenAI
Please contact us at https://github.com/xsigoking/chatgpt-free-api if you encounter any issues.
[2024-04-17T10:56:13Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T10:58:57Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:00:57Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:01:10Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:13:07Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:44:44Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:47:40Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:48:11Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:48:37Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:50:04Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:50:46Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:51:10Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:52:01Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T11:52:19Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T12:01:21Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-17T12:07:59Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-18T07:48:47Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-18T08:57:13Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-18T09:00:32Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-18T09:00:44Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-18T09:01:01Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-18T09:02:21Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-18T09:02:42Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-18T09:04:54Z ERROR] POST /v1/chat/completions 200 error decoding response body
[2024-04-18T09:05:57Z ERROR] POST /v1/chat/completions 200 error decoding response body