JHubi1 / ollama-app

A modern and easy-to-use client for Ollama
Apache License 2.0
598 stars 45 forks source link

Chat responses are empty after a certain number of messages #9

Closed ejaz4 closed 5 months ago

ejaz4 commented 5 months ago

Seen on: https://github.com/JHubi1/ollama-app/tree/1.0.1

You can type messages to any model, and responses are provided for up to a certain number of messages (in my case 6/7). After that, the model responses shown in the chat are empty.

Screenshot_20240602-203712

Other clients and the CLI are not affected.

JHubi1 commented 5 months ago

I'll look into it, thanks for creating an issue

JHubi1 commented 5 months ago

Hi there. I was able to reproduce the issue, but couldn't find any fix. The Ollama API just seems to give back an empty response. In the new v1.0.2 it now throws an error instead of printing an empty response. Normally (from my testing) you can rephrase the input and it should work again. Let me know and reopen the issue in case you find anything else about it.