mirror of
https://github.com/ollama/ollama.git
synced 2025-03-30 04:32:02 +02:00
This fixes some brittle, simple equality checks to use errors.Is. Since go1.13, errors.Is is the idiomatic way to check for errors. Co-authored-by: Jeffrey Morgan <jmorganca@gmail.com>