lmstudio-ai / .github

34 stars 3 forks source link

Better support for symlinks in models directory #48

Open remixer-dec opened 1 month ago

remixer-dec commented 1 month ago

I store some of my models on the main drive and some of them on an external drive, to keep them all in the same place, I use symlinks. When the drive is disconnected, an infinite loop of alert windows appears, asking me to change the models directory. The models directory still exists and it is non-empty, the symlink to my main drive still exists and points to the models on the main drive.

Expected behavior: Symlinks that cannot be accessed are ignored, or an alert about their status appears once.

Current behavior: A single inaccessible symlink prevents to use the application showing an infinite loop of alert windows.

screenshot