RisuAI icon indicating copy to clipboard operation
RisuAI copied to clipboard

Bug: Ollama source stream issue

Open LoopControl opened this issue 1 year ago • 6 comments

When using Ollama (url http://localhost:11434), the response only shows the last streamed chunk/token/word.

It looks like it's replacing the response message with the last streamed token/chunk instead of appending to the previously streamed chunks/tokens.

This is on latest master (commit 952ee5f) checked out a few minutes ago.

LoopControl avatar Aug 10 '24 14:08 LoopControl

The exact same thing happens to me @kwaroran plss

https://github.com/user-attachments/assets/a50dda78-f7fb-4f96-a6c3-315e3afbdcde

diegocostares avatar Aug 11 '24 02:08 diegocostares

Check if it worked before and the same problem occurs in version v123.0.0

diegocostares avatar Aug 11 '24 03:08 diegocostares

so its not just me. https://github.com/kwaroran/RisuAI/issues/582 seems like a lot of the api are broken

Tom-Neverwinter avatar Aug 18 '24 21:08 Tom-Neverwinter

Same here with ollama.

razvanab avatar Aug 27 '24 17:08 razvanab

Can you please fix this ?

razvanab avatar Nov 12 '24 15:11 razvanab

The fix can be found at https://github.com/orsonteodoro/oiledmachine-overlay/blob/master/games-rpg/RisuAI/files/RisuAI-139.2.0-ollama-fix.patch

There is another issue when I ran into the above issue that the AI may do an infinite loop and repeat the same phrases over and over and there is no word limit or time limit.

orsonteodoro avatar Nov 26 '24 00:11 orsonteodoro