Files
dots/lw/.config/fish/host.fish
T
2026-08-13 01:11:41 +02:00

5 lines
447 B
Fish

# --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.
abbr 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"