From 4ebfa2cb91d378ab69315b963bb28c0cfcac59fe Mon Sep 17 00:00:00 2001 From: Daniel Hiltgen Date: Mon, 4 Nov 2024 13:05:16 -0800 Subject: [PATCH] Quiet down debug log of image payload (#7454) Avoid excessive log spew and make consistent with chat logging --- server/routes.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server/routes.go b/server/routes.go index d5c4172a..1d7a9559 100644 --- a/server/routes.go +++ b/server/routes.go @@ -267,7 +267,7 @@ func (s *Server) GenerateHandler(c *gin.Context) { prompt = b.String() } - slog.Debug("generate request", "prompt", prompt, "images", images) + slog.Debug("generate request", "images", len(images), "prompt", prompt) ch := make(chan any) go func() {