aandrew-me / tgpt

AI Chatbots in terminal without needing API keys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ChatGPT may not have enough time to print the result

Monsterovich opened this issue · comments

If the response to the request is received very slowly, tgpt will exit by timeout with this error.

Some error has occurred. Error: net/http: request canceled (Client.Timeout or context cancellation while reading body)

How did you get that error

How did you get that error

ChatGPT can sometimes be very slow to produce a response and if it doesn't make it in time, tgpt will throw a timeout error.

In that case just press Ctrl + C and do again