Y
Hacker News
new
|
ask
|
show
|
jobs
by
qudat
50 days ago
I didn’t think pi supported local models?
2 comments
domh
49 days ago
It does! Ollama provides a helper to launch it with the local model too:
https://docs.ollama.com/integrations/pi
So you can do:
ollama launch pi --model gemma4:26b
And it launches and points to the local model in one command. pi seems to do some setting caching too, because after doing the above once I can just do `pi` and it's already setup to the local model.
link
segmondy
50 days ago
pi does, it can talk to any OpenAI API
link
qudat
48 days ago
how do you provide the base url?
link
So you can do:
And it launches and points to the local model in one command. pi seems to do some setting caching too, because after doing the above once I can just do `pi` and it's already setup to the local model.