From dd12b72abfb531efe936907eeb997bb62b54c149 Mon Sep 17 00:00:00 2001 From: kite Date: Mon, 11 May 2026 15:50:39 +0800 Subject: [PATCH] feat: update output note --- cmd/opencodereview/output.go | 6 +++--- cmd/opencodereview/review_cmd.go | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cmd/opencodereview/output.go b/cmd/opencodereview/output.go index 5a6152c..c228c77 100644 --- a/cmd/opencodereview/output.go +++ b/cmd/opencodereview/output.go @@ -13,7 +13,7 @@ import ( func outputText(comments []model.LlmComment) { if len(comments) == 0 { - fmt.Println("No comments generated.") + fmt.Println("No comments generated. Looks good to me.") return } for _, c := range comments { @@ -155,7 +155,7 @@ func outputJSON(comments []model.LlmComment) error { Comments: comments, } if len(comments) == 0 { - out.Message = "No comments generated." + out.Message = "No comments generated. Looks good to me." } enc := json.NewEncoder(os.Stdout) enc.SetIndent("", " ") @@ -168,7 +168,7 @@ func outputJSONWithWarnings(comments []model.LlmComment, warnings []agent.AgentW Comments: comments, } if len(comments) == 0 { - out.Message = "No comments generated." + out.Message = "No comments generated. Looks good to me." } if len(warnings) > 0 { out.Warnings = warnings diff --git a/cmd/opencodereview/review_cmd.go b/cmd/opencodereview/review_cmd.go index 92af196..0cc4511 100644 --- a/cmd/opencodereview/review_cmd.go +++ b/cmd/opencodereview/review_cmd.go @@ -158,7 +158,7 @@ func runReview(args []string) error { } if opts.audience == "agent" { if len(comments) == 0 { - fmt.Println("No comments generated.") + fmt.Println("No comments generated. Looks good to me.") } else { fmt.Printf("%d comment(s) generated.\n", len(comments)) }