x/registry: remove unused code
This commit is contained in:
parent
d3c6400487
commit
d721228a2b
@ -9,7 +9,6 @@ import (
|
||||
"log"
|
||||
"net/http"
|
||||
"net/url"
|
||||
"os"
|
||||
"path"
|
||||
"strconv"
|
||||
"time"
|
||||
@ -28,13 +27,6 @@ const (
|
||||
DefaultUploadChunkSize = 50 * 1024 * 1024
|
||||
)
|
||||
|
||||
// TODO(bmizerany): move all env things to package envkobs?
|
||||
var defaultLibrary = cmp.Or(os.Getenv("OLLAMA_REGISTRY"), "registry.ollama.ai/library")
|
||||
|
||||
func DefaultLibrary() string {
|
||||
return defaultLibrary
|
||||
}
|
||||
|
||||
type Server struct {
|
||||
UploadChunkSize int64 // default is DefaultUploadChunkSize
|
||||
minioClient *minio.Client
|
||||
|
Loading…
x
Reference in New Issue
Block a user