feat: update --audience agent

This commit is contained in:
kite 2026-05-11 17:17:56 +08:00
parent dd12b72abf
commit 8391e1e564

View file

@ -157,11 +157,7 @@ func runReview(args []string) error {
return outputJSONWithWarnings(comments, ag.Warnings())
}
if opts.audience == "agent" {
if len(comments) == 0 {
fmt.Println("No comments generated. Looks good to me.")
} else {
fmt.Printf("%d comment(s) generated.\n", len(comments))
}
outputTextWithWarnings(comments, ag.Warnings())
return nil
}
outputTextWithWarnings(comments, ag.Warnings())