ParseCommentsWithPath is like ParseComments but uses defaultPath as a fallback when individual comment objects omit the path field. repair is non-nil when `comments` arrived as a serialized string that only parsed after the deterministic repair (see comment_args_repair.go). It reports a schema viol
(args map[string]any, defaultPath string)
| 77 | // schema violation, not a change to the findings: a repair is accepted only when |
| 78 | // no recovered value looks cut short. |
| 79 | func ParseCommentsWithPath(args map[string]any, defaultPath string) (comments []model.LlmComment, repair *CommentRepair, errMsg string) { |
| 80 | return parseCommentsInner(args, defaultPath) |
| 81 | } |
| 82 | |
| 83 | // ParseComments extracts LlmComment entries from tool call arguments without writing |
| 84 | // to the Collector. Returns parsed comments and an error message (empty on success). |