I can second this, opencode was pretty straightforwards to get to work against an ollama running on a different machine locally. However my test system is absolutely too old to make proper use of it. At least I know it is theoretically possible if I would get a proper setup