mirror of
https://github.com/FujiwaraChoki/MoneyPrinterV2.git
synced 2026-04-26 06:35:51 +03:00
[PR #127] [MERGED] Fix generate_script() ignoring retry result #123
Labels
No labels
bug
enhancement
good first issue
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/MoneyPrinterV2#123
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/FujiwaraChoki/MoneyPrinterV2/pull/127
Author: @FujiwaraChoki
Created: 2/26/2026
Status: ✅ Merged
Merged: 2/26/2026
Merged by: @FujiwaraChoki
Base:
main← Head:fix/generate-script-retry-return📝 Commits (1)
daa73a1Fix generate_script() ignoring retry result when script is too long📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
src/classes/YouTube.py(+1 -1)📄 Description
Summary
generate_script()calls itself recursively when the generated script exceeds 5000 characters, but the return value was discarded — the original too-longcompletionalways overwroteself.scriptand was returned regardless.returnkeyword to match the identical retry pattern already used ingenerate_metadata()(line 211) andgenerate_prompts()(line 295).Test plan
🤖 Generated with Claude Code
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.