Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ERROR: Response: <Response [404]> #43

Open
RSAStudioGames opened this issue Jan 11, 2024 · 3 comments
Open

ERROR: Response: <Response [404]> #43

RSAStudioGames opened this issue Jan 11, 2024 · 3 comments

Comments

@RSAStudioGames
Copy link

I keep getting "ERROR: Response: <Response [404]>" whenever I send a message in the channel.
The bot detects and knows what I last sent and it also shows that it is typing, but it never sends anything.

I'm running the backend on Oobabooga and its all on a linux 20.04 LTS server. I've use the bot before on other machines and it has worked before with the same model. Not sure why it's acting up now.

I checked through the code, it looks like it's showing as an issue with the stop sequences, but I've even gone as far as completely removing all of them so I'm out of ideas.

@Sbaero
Copy link

Sbaero commented Feb 4, 2024

I'm finding that Ooba changed the API sometime in November.

oobabooga/text-generation-webui#4630

See the link Ooba linked on how to get the legacy API running if you don't want to migrate to OpenAI format

The error comes from line 227 of textgen.py since it's calling the old API which no longer exists, so 404's.

url = f"{self.model_url}/api/v1/generate"

@ktfcaptain
Copy link

Did something else break then? I found this after spending days getting oobabot going and neither will actually work once running.

@Sbaero
Copy link

Sbaero commented Mar 19, 2024

I was able to follow the directions ooba listed to use the legacy api and it worked in my discord bot. Must be something on your end. (UNLESS you pulled more recently than Feb 4th when I tested this, which might have broken something else. In that case I don't know)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants