aandrew-me / tgpt

AI Chatbots in terminal without needing API keys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Quota exhausted

sinuso opened this issue · comments

More than 24 hours with this result, I have only made 2 requests

:~$ tgpt -q "hi"
当前地区当日额度已消耗完

当前地区当日额度已消耗完 > The quota for the current day in the current region has been exhausted.

$ tgpt -q "hi"
Some error has occurred. Statuscode: 502
An internal error occurred with Vercel.

BAD_GATEWAY

Whenever I check I see everything is okay. If you get errors, try again

Whenever I check I see everything is okay. If you get errors, try again

Since we used the new API I only have problems... I don't know if it is due to IP or region.
98% of queries are with "当前地区当日额度已消耗完" or "Some error has occurred. Statuscode: 502"

$ tgpt -q "hola"
当前地区当日额度已消耗完

Honestly, I liked the version with the Openai API better... if the key failed, I could replace it with a functional one.
I'm still investigating how we can use Bing with gpt4 and cookies.

"tgpt -img" works fine although he has preferences for drawing women or camera lenses. 🤣

@aandrew-me 3 hours testing and with 3 IP (1 from Germany and 2 from Spain)

tgpt@test:~$ tgpt hola
hola

当前地区当日额度已消耗完

tgpt@test:~$ tgpt hi
hi

当前地区当日额度已消耗完

tgpt@test:~$ tgpt hello
hello

当前地区当日额度已消耗完

tgpt@test:~$ tgpt morning
morning

当前地区当日额度已消耗完

tgpt@test:~$ tgpt works?
works?

当前地区当日额度已消耗完

tgpt@test:~$ tgpt testing
Some error has occurred. Statuscode: 502
An internal error occurred with Vercel.

BAD_GATEWAY

tgpt@test:~$ tgpt hello
hello

当前地区当日额度已消耗完

That's sad. I don't want to go back to the API Key based approach. However if you have an OpenAI API key, you can use shell-gpt

That's sad. I don't want to go back to the API Key based approach. However if you have an OpenAI API key, you can use shell-gpt

Does the option to use a proxy work?
If so, where should the proxy.txt be located? In ~/.config/tgpt?

Currently it needs to be located in the directory in which you're in

Currently it needs to be located in the directory in which you're in

All the proxies that I find available give me this result, even if I set up a proxy myself.

http

:~$ tgpt -q hi
Some error has occurred. Check your internet connection.

Error: Post "https://s.aifree.site/api/generate": Proxy responded with non 200 code: 308 Permanent Redirect

socks5

:~$ tgpt -q hi
Some error has occurred. Check your internet connection.

Error: Post "https://s.aifree.site/api/generate": x509: certificate has expired or is not yet valid: current time 2023-11-22T05:34:37+01:00 is after 2021-06-20T14:48:58Z

I have already solved!
Thank you :)