>>109780245
>can't connect to llama.cpp out of the box
wtf? it worked for me first go and never fails.
mkdir -p ~/.pi/agent
vim ~/.pi/agent/models.json
then put your llama-server in
{
"providers": {
"lmg": {
"baseUrl": "http://localhost:8080/v1",
"api": "openai-completions",
"apiKey": "retard",
"models": [
{ "id": "gemma-chan-31B-it" }
]
}
}
}
And start pi