Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

use exp slices for go 1.20 compatibility (#1544)

Bruce MacDonald1b417a783603
diff --git a/cmd/cmd.go b/cmd/cmd.go
index 04add5ff8..b0ba416b6 100644
--- a/cmd/cmd.go
+++ b/cmd/cmd.go
@@ -19,7 +19,6 @@ import (
"path/filepath"
"regexp"
"runtime"
- "slices"
"strings"
"syscall"
"time"
@@ -27,6 +26,7 @@ import (
"github.com/olekukonko/tablewriter"
"github.com/spf13/cobra"
"golang.org/x/crypto/ssh"
+ "golang.org/x/exp/slices"
"golang.org/x/term"
"github.com/jmorganca/ollama/api"