chat-ollama icon indicating copy to clipboard operation
chat-ollama copied to clipboard

Does chat-ollama have timeout when requesting ollama

Open wgong opened this issue 10 months ago • 2 comments

left chat-ollama running on Ubuntu (via npm run dev) overnight, next morning, chat UI becomes non-responsive.

kill and re-run npm does not help.

Check ollama: systemctl status ollama which is in active status, ollama run codellama is responsive at terminal.

Last resort: reboot the machine, then chat-ollama is back to normal.

Wonder if the hand-shake between chat-ollama and localhost:11434 should have timeout, rather than waiting forever.

wgong avatar Apr 06 '24 14:04 wgong

I need to look into it a bit. Not sure what drives the ChatOllama hung.

Are you interested in looking into this issue? 😃 Looking forward to more experts to build ChatOllama together.

sugarforever avatar Apr 06 '24 15:04 sugarforever

I need to look into it a bit. Not sure what drives the ChatOllama hung.

Are you interested in looking into this issue? 😃 Looking forward to more experts to build ChatOllama together.

Sure, I can try but since am new to Vue/typescript, and not yet familiar with the code base, can you give me a hint on which source files I should start looking into? Thanks

wgong avatar Apr 06 '24 16:04 wgong