Git Product home page Git Product logo

koboldai-issues's People

Stargazers

 avatar

Watchers

 avatar

koboldai-issues's Issues

Invisible newlines appear sometimes at the end of the prompt

Newlines can sometimes appear in the context but aren't shown in an action. Despite not being shown, pressing Del does delete them. This silently causes artifacts and generation weirdness and you can't really know if you have one of these without noticing strange generations

If OpenAI decides to send an empty response in UI1, it will error, and load forever.

Error is below, seems very similar to the issue on UI2.

Exception in thread Thread-114:
Traceback (most recent call last):
  File "/notebooks/runtime/envs/koboldai/lib/python3.8/threading.py", line 932, in _bootstrap_inner
    self.run()
  File "/notebooks/runtime/envs/koboldai/lib/python3.8/threading.py", line 870, in run
    self._target(*self._args, **self._kwargs)
  File "/notebooks/runtime/envs/koboldai/lib/python3.8/site-packages/socketio/server.py", line 731, in _handle_event_internal
    r = server._trigger_event(data[0], namespace, sid, *data[1:])
  File "/notebooks/runtime/envs/koboldai/lib/python3.8/site-packages/socketio/server.py", line 756, in _trigger_event
    return self.handlers[namespace][event](*args)
  File "/notebooks/runtime/envs/koboldai/lib/python3.8/site-packages/flask_socketio/__init__.py", line 282, in _handler
    return self._handle_event(handler, message, namespace, sid,
  File "/notebooks/runtime/envs/koboldai/lib/python3.8/site-packages/flask_socketio/__init__.py", line 828, in _handle_event
    ret = handler(*args)
  File "aiserver.py", line 592, in g
    return f(*a, **k)
  File "aiserver.py", line 4245, in get_message
    actionsubmit(msg['data'], actionmode=msg['actionmode'])
  File "aiserver.py", line 4974, in actionsubmit
    calcsubmit("")
  File "aiserver.py", line 5377, in calcsubmit
    generate(subtxt, min, max, found_entries)
  File "aiserver.py", line 6331, in generate
    koboldai_vars.lua_koboldbridge.generated[i+1][koboldai_vars.generated_tkns] = int(genout[i, -1].item())
IndexError: index -1 is out of bounds for axis 1 with size 0

United UI - Deleting Prompt Context Bug

Using United UI. Game Mode and Chat Style set to "Chat" and "Messages". pygmalion-6b model loaded. Generated a Random Prompt. The random prompt was nonsense, so I deleted a portion of the random prompt and it refused to be removed from the context even after deletion.

Switched Game Mode to "Story" and deleted it from there and then received an error saying to report this bug.

Error at koboldai.js:3140
Uncaught TypeError: Cannot read properties of null (reading 'innerText')
--
Please report this error to the developers.

Debug log:
https://gist.github.com/cass02/da597834df3f38d823c534ba68513220

Running Local w/ 3090 on Windows 10.
Version Hash: b308303

Thank you!

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.