Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
OpenDAS
ollama
Commits
b24be8c6
Commit
b24be8c6
authored
Jul 07, 2023
by
Bruce MacDonald
Browse files
update directory url
parent
ba2bade0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
3 deletions
+1
-3
server/models.go
server/models.go
+1
-3
No files found.
server/models.go
View file @
b24be8c6
...
@@ -12,9 +12,7 @@ import (
...
@@ -12,9 +12,7 @@ import (
"github.com/jmorganca/ollama/api"
"github.com/jmorganca/ollama/api"
)
)
// const directoryURL = "https://ollama.ai/api/models"
const
directoryURL
=
"https://ollama.ai/api/models"
// TODO
const
directoryURL
=
"https://raw.githubusercontent.com/jmorganca/ollama/go/models.json"
type
Model
struct
{
type
Model
struct
{
Name
string
`json:"name"`
Name
string
`json:"name"`
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment