Open
Description
Description
I'm running patchflow GenerateREADME
on a repo where I have write permissions (but I'm not an admin). At the end of the run, I'm getting a message saying that "Step CreatePR failed", but it's not true -- the PR does get successfully created. So I'm not sure where the 404 is coming from, but everything worked fine from what I can tell.
Full message:
Patchflow GenerateREADME loaded from patchwork.patchflows
╭────────────────────────────────────────────── Patchflow GenerateREADME inputs ──────────────────────────────────────────────╮
│ Run started CallCode2Prompt │
│ Run completed CallCode2Prompt │
│ Run started LLM │
│ Run started PreparePrompt │
│ Run completed PreparePrompt │
│ Run started CallLLM │
│ Step CallLLM message: Response truncated because of finish reason = length. │
│ Run warning CallLLM │
│ Run started ExtractModelResponse │
│ Run completed ExtractModelResponse │
│ Run completed LLM │
│ Run started ModifyCode │
│ Run completed ModifyCode │
│ Run started PR │
│ Run started CommitChanges │
│ Creating new branch "generatereadme-julia/pdoc". │
│ Run completed CommitChanges │
│ Run started PreparePR │
│ Run completed PreparePR │
│ Run started CreatePR │
│ Creating PR from julia/pdoc to generatereadme-julia/pdoc │
│ Step CreatePR failed │
│ Step PR failed │
│ Error running patchflow GenerateREADME: 404 {"message": "Not Found", "documentation_url": │
│ "https://docs.github.com/rest/repos/repos#get-a-repository", "status": "404"} │
╰─────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────╯
Finished GenerateREADME ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━ 100% 0:00:00 0:00:15
Please provide a link to a minimal reproduction of the bug
No response
Please provide the exception or error you saw
Anything else?
No response