Skip to content

Get up and running with Kimi, GLM, MiniMax, DeepSeek, gpt-oss, Qwen, Gemma and other models.

do not print update request headers

Michael Yangfd77dbec4d79
diff --git a/app/lifecycle/updater.go b/app/lifecycle/updater.go
index 47db53c56..456e6f9c9 100644
--- a/app/lifecycle/updater.go
+++ b/app/lifecycle/updater.go
@@ -84,7 +84,7 @@ func IsNewReleaseAvailable(ctx context.Context) (bool, UpdateResponse) {
req.Header.Set("User-Agent", fmt.Sprintf("ollama/%s (%s %s) Go/%s", version.Version, runtime.GOARCH, runtime.GOOS, runtime.Version()))
client := getClient(req)
- slog.Debug(fmt.Sprintf("checking for available update at %s with headers %v", requestURL, req.Header))
+ slog.Debug("checking for available update", "requestURL", requestURL)
resp, err := client.Do(req)
if err != nil {
slog.Warn(fmt.Sprintf("failed to check for update: %s", err))