You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
currently llama-cpp-python provides an OpenAI compatible API, but it joins multiple chunks into a single completion event with \r\r instead of \n, which causes the following exception:
VM190:3Uncaught SyntaxError: Unexpectednon-whitespacecharacterafterJSONatposition223atJSON.parse(<anonymous>)
at eval (eval at <anonymous> (index-3e43d292.js:294:74), <anonymous>:1:6)
at index-3e43d292.js:294:74
at Array.map (<anonymous>)
at L6e (index-3e43d292.js:293:20)
at handleSubmit (index-3e43d292.js:305:824)
i am also following up with llama-cpp-python to see if i can upstream a fix, but it seems worthwhile for BetterChatGPT to be resilient to this sort of input.
The text was updated successfully, but these errors were encountered:
currently llama-cpp-python provides an OpenAI compatible API, but it joins multiple chunks into a single completion event with
\r\r
instead of\n
, which causes the following exception:i am also following up with llama-cpp-python to see if i can upstream a fix, but it seems worthwhile for BetterChatGPT to be resilient to this sort of input.
The text was updated successfully, but these errors were encountered: