Skip to content

Commit

Permalink
Quiet down debug log of image payload (ollama#7454)
Browse files Browse the repository at this point in the history
Avoid excessive log spew and make consistent with chat logging
  • Loading branch information
dhiltgen authored Nov 4, 2024
1 parent 046054f commit 4ebfa2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/routes.go
Original file line number Diff line number Diff line change
Expand Up @@ -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() {
Expand Down

0 comments on commit 4ebfa2c

Please sign in to comment.