Commit a10f67d
committed
Fix mislabeled llama.cpp model storage default in Settings
The llama.cpp (local) section reused the Ollama section's 'Default (Ollama's
own location)' label for its own model storage location — but per
getLlamaCppModelsDir() in main.ts, the actual default is a dedicated
<userData>/llamacpp-models folder, entirely separate from where Ollama
stores its own blobs. The mislabeled UI told users their GGUF files
belonged in Ollama's directory, which they do not — Ollama's blob store
is content-addressed (sha256-named, no extension) and llama.cpp's
listModels() only scans a flat folder for *.gguf files directly, not
inside it. Also added a hint explaining this, since the row previously had
none at all.1 parent f1a0b67 commit a10f67d
2 files changed
Lines changed: 8 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
126 | 126 | | |
127 | 127 | | |
128 | 128 | | |
| 129 | + | |
| 130 | + | |
129 | 131 | | |
130 | 132 | | |
131 | 133 | | |
| |||
490 | 492 | | |
491 | 493 | | |
492 | 494 | | |
| 495 | + | |
| 496 | + | |
493 | 497 | | |
494 | 498 | | |
495 | 499 | | |
| |||
863 | 867 | | |
864 | 868 | | |
865 | 869 | | |
| 870 | + | |
| 871 | + | |
866 | 872 | | |
867 | 873 | | |
868 | 874 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1072 | 1072 | | |
1073 | 1073 | | |
1074 | 1074 | | |
1075 | | - | |
| 1075 | + | |
1076 | 1076 | | |
1077 | 1077 | | |
1078 | | - | |
| 1078 | + | |
1079 | 1079 | | |
1080 | 1080 | | |
1081 | 1081 | | |
| |||
0 commit comments