From 2f7d245a88993045ab0c2a6573310e8ac9f2fb8f Mon Sep 17 00:00:00 2001 From: likelovewant Date: Fri, 26 Jul 2024 13:54:41 +0800 Subject: [PATCH] fix api can't download models --- .gitignore | 1 + app/lifecycle/updater.go | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index e6bb9cd7..104e0bf7 100644 --- a/.gitignore +++ b/.gitignore @@ -4,6 +4,7 @@ .env .venv .swp +0 dist ollama ggml-metal.metal diff --git a/app/lifecycle/updater.go b/app/lifecycle/updater.go index 9314a48c..f29e61fb 100644 --- a/app/lifecycle/updater.go +++ b/app/lifecycle/updater.go @@ -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 )