update directory url
This commit is contained in:
parent
ba2bade0d5
commit
b24be8c6b3
1 changed files with 1 additions and 3 deletions
|
@ -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"`
|
||||
|
|
Loading…
Reference in a new issue