Browse Source

use x/exp/slices

Michael Yang 1 year ago
parent
commit
defc1dbd6e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      llm/payload_common.go

+ 1 - 1
llm/payload_common.go

@@ -3,13 +3,13 @@ package llm
 import (
 import (
 	"errors"
 	"errors"
 	"fmt"
 	"fmt"
+	"golang.org/x/exp/slices"
 	"io"
 	"io"
 	"io/fs"
 	"io/fs"
 	"log"
 	"log"
 	"os"
 	"os"
 	"path/filepath"
 	"path/filepath"
 	"runtime"
 	"runtime"
-	"slices"
 	"strings"
 	"strings"
 
 
 	"github.com/jmorganca/ollama/gpu"
 	"github.com/jmorganca/ollama/gpu"