merge update ,remove update api

This commit is contained in:
likelovewant
2024-07-18 12:17:00 +08:00
parent cb02c084eb
commit c7e2f8889d
2 changed files with 27 additions and 26 deletions

View File

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