mirror of
https://github.com/cloudstack-llc/ollama.git
synced 2026-07-18 12:34:41 -04:00
de1557a0dc
Llama.cpp sometimes returns NULL as a return value to report an error. We should explicitly check for this and convert it to a Go error rather than putting NULL in our data structures and waiting for it to blow up later.