kevinhermawan / Ollamac

Mac app for Ollama
Other
1.34k stars 71 forks source link

v3.0 failed to select model when launched w/out Ollama running #100

Open epheterson opened 3 months ago

epheterson commented 3 months ago

I just went through these steps and hit a bug:

  1. Update to Ollamac 3.0
  2. Ollama on my mac was not running
  3. Launch Ollamac 3.0
  4. Click: New chat
  5. Saw the error message that Ollama wasn't running, so launch it
  6. Try to use chat – it failed (clicking send or enter did nothing)
  7. Click: New chat
  8. Try to use chat – it failed (clicking send or enter did nothing)
  9. Relaunch Ollamac 3.0
  10. Try to use chat – it failed (clicking send or enter did nothing)
  11. Open right sidebar, although a model is shown as selected, click the drop-down and re-select it
  12. Model name now appears under "New Chat" header
  13. Try to use chat – it works!

There seems to be some edge where Ollamac can be launched with Ollama being closed that doesn't self-heal without manually selecting a model.

epheterson commented 3 months ago

This seems to be a first-time launch issue, once there is a cached list of models Ollamac selects from the cache, even while Ollama is closed. On subsequent tries the chat works fine after launching Ollama without any manual step.

epheterson commented 3 months ago

Great update by the way, this experience is much smoother! 🔥🦙

epheterson commented 3 months ago

My first chat looks like this, with no model selected.

Screenshot 2024-08-09 at 3 18 23 PM

Correct flows show a model in the header.

Screenshot 2024-08-09 at 3 18 45 PM
kevinhermawan commented 3 months ago

Confirmed bug @epheterson 😂 but it can be solved by clicking the "Try Again" after opening the Ollama.

epheterson commented 3 months ago

Thanks, I did click Try Again though! Maybe I clicked it before launching Ollama and it only showed once? Small bug anyway, people can find their way out

nicpaimnt commented 2 months ago

FYI. I had this issue as a first time user, it was very confusing.

It would automatically select the right model, so I didn't choose and pick it... Pressing enter or the button was just doing nothing at all.

At least show a message or don't pre-select the model. Without this thread I'd have uninstalled it.