Code Monkey home page Code Monkey logo

Comments (7)

jmoney7823956789378 avatar jmoney7823956789378 commented on July 23, 2024 1

@Phixia unfortunately the legacy API seems to have been made completely unsupported, so it no longer works without heavy modification.
alternatively, I have done my best to write a functioning method of connecting via the openai-like api instead:
https://github.com/jmoney7823956789378/oobabot
you may need to re-generate your config.yml in order to see the new options.

from oobabot.

Phixia avatar Phixia commented on July 23, 2024 1

Thanks much I'll give it a go

from oobabot.

KungFuFurniture avatar KungFuFurniture commented on July 23, 2024

I am having this same issue. All of a sudden, it worked fine 2 days ago. It is also not consistent. I will start receiving messages in discord, but suddenly I won't. Any thoughts on this would be welcomed. Thanks.

from oobabot.

jmoney7823956789378 avatar jmoney7823956789378 commented on July 23, 2024

read your oobabooga logs for a better idea of what went wrong.

from oobabot.

KungFuFurniture avatar KungFuFurniture commented on July 23, 2024

Wow quick response, thanks! Below is all the info I get. Which is the same as above.

2023-10-20 16:30:41,902 WARNING An empty response was received from Oobabooga. Please check that the AI is running properly on the Oobabooga server at ws://localhost:5005.

Either I can't read the logs, or I just can't find the right one. NOOB.

from oobabot.

jmoney7823956789378 avatar jmoney7823956789378 commented on July 23, 2024

that's the output from oobabot, you'll need to look around for what the actual oobabooga server is saying.

from oobabot.

Phixia avatar Phixia commented on July 23, 2024

Having a similar issue the response I get from server is:

connection handler failed
Traceback (most recent call last):
  File "C:\Users\redacted\text-generation-webui\installer_files\env\Lib\site-packages\websockets\legacy\server.py", line 240, in handler
    await self.ws_handler(self)
  File "C:\Users\redacted\text-generation-webui\installer_files\env\Lib\site-packages\websockets\legacy\server.py", line 1186, in _ws_handler
    return await cast(
           ^^^^^^^^^^^
  File "C:\Users\redacted\text-generation-webui\extensions\api\streaming_api.py", line 92, in _handle_connection
    await _handle_stream_message(websocket, message)
  File "C:\Users\redacted\text-generation-webui\extensions\api\util.py", line 155, in api_wrapper
    return await func(*args, **kwargs)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "C:\Users\redacted\text-generation-webui\extensions\api\streaming_api.py", line 37, in _handle_stream_message
    for a in generator:
  File "C:\Users\redacted\text-generation-webui\modules\text_generation.py", line 32, in generate_reply
    for result in _generate_reply(*args, **kwargs):
  File "C:\Users\redacted\text-generation-webui\modules\text_generation.py", line 88, in _generate_reply
    for reply in generate_func(question, original_question, seed, state, stopping_strings, is_chat=is_chat):
  File "C:\Users\redacted\text-generation-webui\modules\text_generation.py", line 293, in generate_reply_HF
    if isinstance(state['sampler_priority'], list) and len(state['sampler_priority']) > 0:
                  ~~~~~^^^^^^^^^^^^^^^^^^^^
KeyError: 'sampler_priority'

I'm running a new build of oobabooga but I am loading the legacy API per #83

My oobabot is connecting to discord and monitoring my channels there but it is unable to generate responses to wake words.

from oobabot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.