diff --git a/server/ai_mediaserver.go b/server/ai_mediaserver.go index 7b708ffd5..88cb233ba 100644 --- a/server/ai_mediaserver.go +++ b/server/ai_mediaserver.go @@ -449,7 +449,11 @@ func (ls *LivepeerServer) LlmGenerate() http.Handler { return } - clog.V(common.VERBOSE).Infof(ctx, "Received LlmGenerate request prompt=%v model_id=%v stream=%v", req.Prompt, *req.ModelId, *req.Stream) + streamResponse := false + if *req.Stream { + streamResponse = *req.Stream + } + clog.V(common.VERBOSE).Infof(ctx, "Received LlmGenerate request prompt=%v model_id=%v stream=%v", req.Prompt, *req.ModelId, streamResponse) params := aiRequestParams{ node: ls.LivepeerNode,