chatgpt-api icon indicating copy to clipboard operation
chatgpt-api copied to clipboard

ChatGPT HTTP API Client and CLI

Results 2 chatgpt-api issues
Sort by recently updated
recently updated
newest added

Traceback (most recent call last): File "/Users/lixinjian/projects/github/chatgpt-api/chatgpt/web_chat.py", line 10, in response = chat.send_message("Hello!") File "/Users/lixinjian/projects/github/chatgpt-api/chatgpt/api.py", line 123, in send_message raise StatusCodeException(response) chatgpt.exceptions.StatusCodeException:

chatgpt-api version: 0.2.1 My code: ``` with ChatGPT(session_token='...', response_timeout=30) as chatter: ask = input('ask:') print('ans:', chatter.send_message(ask).content) ``` The exception it causes: ``` Traceback (most recent call last): File "...", line...

bug