Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.
package mlxrunner
import (
"testing"
"github.com/ollama/ollama/mlx"
)
func TestCheckRuntimeRequiresLoadedLibrary(t *testing.T) {
_, loadErr := mlx.LoadedLibraryPath()
err := CheckRuntime()
if (err == nil) != (loadErr == nil) {
t.Fatalf("CheckRuntime() error = %v, loaded library error = %v", err, loadErr)
}
}