Browse Source

Quiet down debug log of image payload (#7454)

Avoid excessive log spew and make consistent with chat logging
Daniel Hiltgen 6 tháng trước cách đây
mục cha
commit
4ebfa2cb91
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      server/routes.go

+ 1 - 1
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() {