AugustDev / enchanted

Enchanted is iOS and macOS app for chatting with private self hosted language models such as Llama2, Mistral or Vicuna using Ollama.
Apache License 2.0
2.29k stars 151 forks source link

Shortcut only works when application has an active window. #121

Open iSteeb opened 1 month ago

iSteeb commented 1 month ago

The completions and "spotlight" style panels activated from shortcut work fine when there is an active window (foreground or minimised states). However when closed with cmd w (or, obviously, quit with cmd q) the shortcut does not work.

It should be possible to activate the shortcut at all times when there is an instance of the application (even if it is in the closed state that a shortcut like from cmd w).

My preferred behaviour would be identical to that of the DeepL mac application:

  1. There is a settings option such as:

    image
  2. If the background option is selected, then quitting the application removes the application from the dock and sets it into the menu bar and the shortcut is still able to activate.

  3. The application can be quit completely from the menu bar icon.

DanzigerGeist commented 1 week ago

Bump!

Having the app running in the background would be a killer-feature, and that's how the new native ChatGPT works also - it sits as a daemon in the menubar and can be called with a shortcut. And given that Enchanted's shortcuts are far superior to those of ChatGPT's, it makes it somewhat painful to ensure the app is always open, whereas if it would be a background daemon - it can be simply started at login, and you're good to go!

nhat commented 1 week ago

This or a menu bar would be also great!