Closed neCo2 closed 1 month ago
When chat mode is active, the following error occurs at the end of generation, and the instruct prefix fails to be added to the end of the prompt.
Uncaught TypeError: chunk.completion_probabilities[0] is undefined llamaCppCompletion file:///C:/Programs/mikupad/mikupad.html:1357
Changing the operator to optional chaining should take care of the problem.
Thank you for the patch!
When chat mode is active, the following error occurs at the end of generation, and the instruct prefix fails to be added to the end of the prompt.
Changing the operator to optional chaining should take care of the problem.