[Fix] cleanup
This commit is contained in:
@@ -0,0 +1,4 @@
|
||||
# --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"
|
||||
Reference in New Issue
Block a user