update directory url

This commit is contained in:
Bruce MacDonald 2023-07-07 15:13:41 -04:00
parent ba2bade0d5
commit b24be8c6b3

View file

@ -12,9 +12,7 @@ import (
"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 {
Name string `json:"name"`