Commit 6a448f9
fix: read text blocks from Claude response in release version suggester (#1228)
claude-sonnet-5 returns a thinking block before the text block, so
reading .content[0].text yielded nothing and `make release` failed.
Join all text blocks instead, and raise max_tokens so thinking tokens
do not truncate the changelog.
Co-authored-by: Claude <noreply@anthropic.com>1 parent 9257451 commit 6a448f9
1 file changed
Lines changed: 3 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
103 | 103 | | |
104 | 104 | | |
105 | 105 | | |
106 | | - | |
| 106 | + | |
107 | 107 | | |
108 | 108 | | |
109 | 109 | | |
110 | 110 | | |
111 | 111 | | |
112 | 112 | | |
113 | 113 | | |
114 | | - | |
| 114 | + | |
| 115 | + | |
115 | 116 | | |
116 | 117 | | |
117 | 118 | | |
| |||
0 commit comments