I wrote a similar post some time ago just used ollama and opencode https://blog.kulman.sk/running-local-llm-coding-server/
this is the way, given anyone could swap for oh my pi / pi / etc
actually useful and the ollama gui could probably even simplify this more.
this is the way, given anyone could swap for oh my pi / pi / etc