RisuAI
                                
                                
                                
                                    RisuAI copied to clipboard
                            
                            
                            
                        Bug: Ollama source stream issue
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.
The exact same thing happens to me @kwaroran plss
https://github.com/user-attachments/assets/a50dda78-f7fb-4f96-a6c3-315e3afbdcde
Check if it worked before and the same problem occurs in version v123.0.0
so its not just me. https://github.com/kwaroran/RisuAI/issues/582 seems like a lot of the api are broken
Same here with ollama.
Can you please fix this ?
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.