mirror of
https://github.com/ollama/ollama.git
synced 2025-04-17 08:02:21 +02:00
We need to sync before retrieving data after async computation. It is also important to ensure that the Go buffer is not moved by the GC across function calls so we do a synchronous copy.