Jeffser / Alpaca

An Ollama client made with GTK4 and Adwaita
GNU General Public License v3.0
116 stars 18 forks source link

0.9.4 | Every request crashing ollama remote session #90

Closed BadKiko closed 3 weeks ago

BadKiko commented 3 weeks ago

Describe the bug When I write a message and receive a response, I get the error "The remote instance has disconnected"

Expected behavior Continued correct operation

Screenshots image image image

Additional context In the previous version everything was fine

BadKiko commented 3 weeks ago

when I did a rollback to 0.9.3 everything started working fine

Jeffser commented 3 weeks ago

Hi, you are using a remote instance right? or it just shows that error?

BadKiko commented 3 weeks ago

I using remote instance of ollama, i think maybe this piece of code make this bug? https://github.com/Jeffser/Alpaca/compare/0.9.3...0.9.4#diff-6b612759ad1849fdde676998a8da94dc5a5401ece7261f1f1ca2ccd98deeadfd. Although most likely not, it’s still a local server

Jeffser commented 3 weeks ago

that can't be it, that's the code used to manage only the local instance

BadKiko commented 3 weeks ago

It's strange, I don't find any differences in the remote part. But in 0.9.4 this does not work, unlike 0.9.3

Jeffser commented 3 weeks ago

that's really weird, I'm going to install an Ollama instance and try to fix it, I should probably add remote instance to my testing before publishing hahaha

BadKiko commented 3 weeks ago

xD Unfortunately, I'm working now, when I get free I'll take the source code and also check where the problem might be.

Jeffser commented 3 weeks ago

don't worry, good luck with work

Jeffser commented 3 weeks ago

This is really, strange, it works fine in my computer, could you run Alpaca using flatpak run com.jeffser.Alpaca and sent me the output? of course once you get out of work haha

BadKiko commented 3 weeks ago

unfortunately this is not logged. The logs only go when the local server starts, I used the command flatpak run --devel com.jeffser.Alpaca. i also try to change address to 127.0.0.1 but it doesn't give any results

BadKiko commented 3 weeks ago

this is so weird, I copied the repo, run and this error went away xD maybe this bug is only in the Flatpak version or when updating from 0.9.3?

Jeffser commented 3 weeks ago

the only version I support is Flatpak so Idk hahaha, I'm going to make a release to fix these errors