Quiet down debug log of image payload (#7454)

Avoid excessive log spew and make consistent with chat logging
This commit is contained in:
Daniel Hiltgen 2024-11-04 13:05:16 -08:00 committed by GitHub
parent 046054fa3b
commit 4ebfa2cb91
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -267,7 +267,7 @@ func (s *Server) GenerateHandler(c *gin.Context) {
prompt = b.String() prompt = b.String()
} }
slog.Debug("generate request", "prompt", prompt, "images", images) slog.Debug("generate request", "images", len(images), "prompt", prompt)
ch := make(chan any) ch := make(chan any)
go func() { go func() {