-
-
Notifications
You must be signed in to change notification settings - Fork 11
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
HTTP request failed with status: 404 when trying to connect to ooba #11
Comments
Looks like your missing a trailing / after v1 for your API address.
…On Fri, Apr 19, 2024, 9:16 AM Bibrrr ***@***.***> wrote:
Hello :)
I have an issue with this app when it comes to connection to ooba with
openai api.
I changed port to 5000 in text-default.json config file to match port with
that from ooba. Bot turns on just fine, it also appears to connect to ooba.
However when messaging bot in discord, I get this
obraz.png (view on web)
<https://github.com/badgids/OpenKlyde/assets/115658726/58dfd243-cbdd-4bad-a456-5d3ab095b735>
I'm trying to figure out if it has something to do with openklyde, or
openai api extension itself. Extention loads without that /v1 at the end
obraz.png (view on web)
<https://github.com/badgids/OpenKlyde/assets/115658726/2a67f650-c594-4b42-b014-f89b5977d564>
—
Reply to this email directly, view it on GitHub
<#11>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABC7MFZRUE6UKREGJNBPOOTY6EKMBAVCNFSM6AAAAABGPFRHZKVHI2DSMVQWIX3LMV43ASLTON2WKOZSGI2TEOJYGI2TEOA>
.
You are receiving this because you are subscribed to this thread.Message
ID: ***@***.***>
|
It's been a minute since I used Ooba. Did you launch Textgen-UI with the --listen --api and the --openai extension? For Ooba the API endpoint is http://127.0.0.1:5000/v1/ It was correct the first go 'round, just missing the trailing / after v1 https://github.com/oobabooga/text-generation-webui/wiki/12-%E2%80%90-OpenAI-API |
I completely forgot about /docs... sorry about that. for text generation in kobold it's 127.0.0.1:5001/api/v1/generate while in ooba it's 127.0.0.1:5000/v1/chat/completions . That's why it's throwing 404 errors. I will look into the code and check if changing those values helps |
Yeah it looks like Ooba has changed some things in the API from when I first wrote this program last year. |
Hello :)
I have an issue with this app when it comes to connection to ooba with openai api.
I changed port to 5000 in text-default.json config file to match port with that from ooba. Bot turns on just fine, it also appears to connect to ooba. However when messaging bot in discord, I get this
I'm trying to figure out if it has something to do with openklyde, or openai api extension itself. Extention loads without that /v1 at the end
The text was updated successfully, but these errors were encountered: