瀏覽代碼

update directory url

Bruce MacDonald 1 年之前
父節點
當前提交
b24be8c6b3
共有 1 個文件被更改,包括 1 次插入3 次删除
  1. 1 3
      server/models.go

+ 1 - 3
server/models.go

@@ -12,9 +12,7 @@ import (
 	"github.com/jmorganca/ollama/api"
 	"github.com/jmorganca/ollama/api"
 )
 )
 
 
-// const directoryURL = "https://ollama.ai/api/models"
-// TODO
-const directoryURL = "https://raw.githubusercontent.com/jmorganca/ollama/go/models.json"
+const directoryURL = "https://ollama.ai/api/models"
 
 
 type Model struct {
 type Model struct {
 	Name             string `json:"name"`
 	Name             string `json:"name"`