fix api can't download models

This commit is contained in:
likelovewant
2024-07-26 13:54:41 +08:00
parent 0da8b2bc85
commit 2f7d245a88
2 changed files with 2 additions and 1 deletions

1
.gitignore vendored
View File

@@ -4,6 +4,7 @@
.env
.venv
.swp
0
dist
ollama
ggml-metal.metal

View File

@@ -23,7 +23,7 @@ import (
)
var (
UpdateCheckURLBase = "https://api.github.com/repos/likelovewant/ollama-for-amd/releases/id"
UpdateCheckURLBase = "https://api.github.com/repos/likelovewant/ollama-for-amd/releases/:id"
UpdateDownloaded = false
UpdateCheckInterval = 60 * 60 * time.Second
)