Commit 12771d8
fix: surface truncation warning in PR comment, align word limit with max_tokens
- Track wasTruncated and append a visible blockquote warning to the
posted comment so reviewers know the diff was cut off
- Raise prompt word limit from 400 → 800 to be consistent with the
2048 max_tokens budget
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 52766cf commit 12771d8
1 file changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | | - | |
| 32 | + | |
| 33 | + | |
33 | 34 | | |
34 | 35 | | |
35 | 36 | | |
| |||
45 | 46 | | |
46 | 47 | | |
47 | 48 | | |
48 | | - | |
| 49 | + | |
49 | 50 | | |
50 | 51 | | |
51 | 52 | | |
| |||
65 | 66 | | |
66 | 67 | | |
67 | 68 | | |
68 | | - | |
| 69 | + | |
69 | 70 | | |
70 | 71 | | |
71 | 72 | | |
| |||
0 commit comments