[Sync] cleanup

This commit is contained in:
coja
2026-08-12 23:49:33 +02:00
parent a700e23e0a
commit a099091b6c
9 changed files with 8 additions and 306 deletions
+5 -1
View File
@@ -1,2 +1,6 @@
## lw-specific bash extras (mirror of the fish llamaserver abbr in host.fish)
alias llamaserver="nice -n 19 llama-server --host 0.0.0.0 --port 11343 --models-max 1 --models-preset ~/.config/llamacpp/config.ini"
# --host 127.0.0.1 deliberately: laptop roams onto untrusted wifi and the API has no key.
# --cors-origins localhost: llama.cpp PR 25655 recommendation for same-machine use — without it
# the default CORS reflects any Origin, letting a malicious page in the local browser call the API.
alias llamaserver="nice -n 19 llama-server --host 127.0.0.1 --port 11343 --cors-origins localhost --models-max 1 --models-preset ~/.config/llamacpp/config.ini"