chrisrude / oobabot

A Discord bot which talks to Large Language Model AIs running on oobabooga's text-generation-webui
MIT License
98 stars 33 forks source link

Unable to connect. #94

Open Gfisch27 opened 2 months ago

Gfisch27 commented 2 months ago

oobabot -c config.yml 2024-04-10 22:24:04,870 INFO Starting oobabot, core version 0.2.3 2024-04-10 22:24:04,870 INFO Oobabooga is at ws://localhost:5005 2024-04-10 22:24:06,903 WARNING Could not connect to Oobabooga server: [ws://localhost:5005] 2024-04-10 22:24:06,903 WARNING Please check the URL and try again. 2024-04-10 22:24:06,903 ERROR Reason: Cannot connect to host localhost:5005 ssl:default [The remote computer refused the network connection]

Openai, api, and listen are all checked, applied and saved. Updated CMD_FLAGS.txt in text-generation-webui. I am lost as to what I am missing/doing wrong.

config.yml is mostly defaults. oobabot and oobabooga are running on the same system.

rodti commented 2 months ago

Oobabooga has dropped the old API in favour of OpenAI API, but the bot hasn't been updated. To get the bot working with current versions of Oobabooga, there are instructions so install the old API as an extension here, and you then need to use ---extension api on the command line to load that extension. Also note the different port.

jmoney7823956789378 commented 2 months ago

check the forks. an updated fork exists.

rodti commented 2 months ago

check the forks. an updated fork exists.

Fab, thanks!