Commit daa73a1
Fix generate_script() ignoring retry result when script is too long
The recursive retry call was missing `return`, so the original too-long
script always overwrote the retried result. This made the >5000 char
length guard completely ineffective. The same pattern is used correctly
in generate_metadata() and generate_prompts().
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>1 parent a9e3f76 commit daa73a1
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
193 | | - | |
| 193 | + | |
194 | 194 | | |
195 | 195 | | |
196 | 196 | | |
| |||
0 commit comments