aandrew-me / tgpt

AI Chatbots in terminal without needing API keys

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

401 error with text, images work fine.

sinuso opened this issue · comments

It hasn't worked for more than 12 hours, it always responds with a 401 error message with random keys.
The image generation works perfectly.

I also notice that the API page has ceased to exist or has been modified.

image

freegpts1.aifree.site

image

chatf.aifree.site

image

Check if you still have this problem

Check if you still have this problem

Now the error is:
Some error has occurred. Statuscode: 429
{"detail":"rate limited."}

image

the endpoint seems stop working. we need to host pandoranext ourself or use shared pandoranext if there is any.

@aandrew-me It's broken again.

image

@sinuso no it's not. it's just a lot of api key got banned. it uses a lot of free api key, then rotate it. however a lot of api key got banned, or out of free trial, and it's still in the pool. if u keep trying i may got response from api key that still alive.

@sinuso no it's not. it's just a lot of api key got banned. it uses a lot of free api key, then rotate it. however a lot of api key got banned, or out of free trial, and it's still in the pool. if u keep trying i may got response from api key that still alive.

It is always error 401[1], 429, blank response or waiting for a response

[1]
{"error":{"message":"Unauthorized - Access token is missing",....
{"error":{"message":"Your OpenAI account has been deactivated, please check your email for more information. If you feel this is an error, contact us through our help center at help.openai.com."

@sinuso "message":"Unauthorized - Access token is missing" "message":"Your OpenAI account has been deactivated..
means it is working just fine. Those message is comming from openai, it means this program is working as intended, which is connecting you from your local terminal to openai/fakeopen server.
It just a lot of account that used in this free method got banned.

you can always build it your self with your api key with openai endpoint, and it would be working.
simply edit with the functions.go file, then build

gen-img working fine, it use different endpoint.

I cannot do anything about those errors. The only thing I can do is change the API, so if you have good APIs, suggest and I will change

I cannot do anything about those errors. The only thing I can do is change the API, so if you have good APIs, suggest and I will change

Maybe gpt4free?
It would be great to be able to use gpt4.

I cannot do anything about those errors. The only thing I can do is change the API, so if you have good APIs, suggest and I will change

Maybe gpt4free? It would be great to be able to use gpt4.

That repo has many APIs, I took this one from it. Many dont work. And whenever I tried using gpt4free locally I got errors

Brave Leo is good, but it has rate limits

I cannot do anything about those errors. The only thing I can do is change the API, so if you have good APIs, suggest and I will change

Maybe gpt4free? It would be great to be able to use gpt4.

That repo has many APIs, I took this one from it. Many dont work. And whenever I tried using gpt4free locally I got errors

I'm trying this (it's bad I know) and for now it always gives me an answer.

import g4f
import sys

g4f.debug.logging = True  # Enable debug logging
g4f.debug.check_version = False  # Disable automatic version checking
print(g4f.Provider.Bing.params)  # Print supported args for Bing

while True:
    pregunta = input("What do you want to ask?")

    response = g4f.ChatCompletion.create(
        model="gpt-3.5-turbo",
        messages=[{"role": "user", "content": pregunta}],
        stream=True,
    )
    for message in response:
        print(message, flush=True, end='')

    respuesta_usuario = input("Do you want to ask another question?")

    if respuesta_usuario == "no":
        break

image

I cannot use it like this because its in Python

I cannot use it like this because its in Python

@aandrew-me I found this API from Free-GPT4-WEB-API.

https://api.freegpt4.ddns.net/?text=Do you know TGPT by aandrew-me?

Answer

image

Hm let me see

This is not convenient