AutoPR
AutoPR copied to clipboard
ValueError: Error looking at files
generated output
AutoPR encountered an error while trying to fix (redacted repo/issue).
Traceback
Traceback (most recent call last):
File "/app/autopr/agents/brain_agent/base.py", line 75, in generate_pr
self._generate_pr(event)
File "/app/autopr/agents/brain_agent/simple_v1.py", line 27, in _generate_pr
pr_desc = self.pull_request_agent.plan_pull_request(self.repo, issue, event)
File "/app/autopr/agents/pull_request_agent/base.py", line 50, in plan_pull_request
pull_request = self._plan_pull_request(repo, issue, event)
File "/app/autopr/agents/pull_request_agent/rail_v1.py", line 392, in _plan_pull_request
notes = self.write_notes_about_files(files, issue, filepaths)
File "/app/autopr/agents/pull_request_agent/rail_v1.py", line 317, in write_notes_about_files
raise ValueError('Error looking at files')
ValueError: Error looking at files
more context:
The issue was something like:
in path/to/file.tsx, update the "messages" and "files" Buttons to be IconButtons. also add aria-label properties to them.
The action's log seemed to output a ton of activity, but it said it failed before the action had even finished with the message above in the generated PR. Not sure why it failed.