feat: update output note

This commit is contained in:
kite 2026-05-11 15:50:39 +08:00
parent 1319f3a013
commit dd12b72abf
2 changed files with 4 additions and 4 deletions

View file

@ -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

View file

@ -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))
}