Skip to content

Commit

Permalink
Remove error
Browse files Browse the repository at this point in the history
  • Loading branch information
aorwall committed Jan 24, 2025
1 parent 60b9f86 commit dbc87fd
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions notebooks/00_index_and_run.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -1130,18 +1130,6 @@
"loop_completed\n",
"Patch:\n"
]
},
{
"ename": "AttributeError",
"evalue": "'FileRepository' object has no attribute 'generate_git_patch'",
"output_type": "error",
"traceback": [
"\u001b[0;31m---------------------------------------------------------------------------\u001b[0m",
"\u001b[0;31mAttributeError\u001b[0m Traceback (most recent call last)",
"Cell \u001b[0;32mIn[21], line 51\u001b[0m\n\u001b[1;32m 48\u001b[0m search_response \u001b[38;5;241m=\u001b[39m loop\u001b[38;5;241m.\u001b[39mrun()\n\u001b[1;32m 50\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[38;5;124m\"\u001b[39m\u001b[38;5;124mPatch:\u001b[39m\u001b[38;5;124m\"\u001b[39m)\n\u001b[0;32m---> 51\u001b[0m \u001b[38;5;28mprint\u001b[39m(\u001b[43mfile_repo\u001b[49m\u001b[38;5;241;43m.\u001b[39;49m\u001b[43mgenerate_git_patch\u001b[49m())\n",
"File \u001b[0;32m~/.cache/pypoetry/virtualenvs/moatless-GYgBosA5-py3.11/lib/python3.11/site-packages/pydantic/main.py:891\u001b[0m, in \u001b[0;36mBaseModel.__getattr__\u001b[0;34m(self, item)\u001b[0m\n\u001b[1;32m 888\u001b[0m \u001b[38;5;28;01mreturn\u001b[39;00m \u001b[38;5;28msuper\u001b[39m()\u001b[38;5;241m.\u001b[39m\u001b[38;5;21m__getattribute__\u001b[39m(item) \u001b[38;5;66;03m# Raises AttributeError if appropriate\u001b[39;00m\n\u001b[1;32m 889\u001b[0m \u001b[38;5;28;01melse\u001b[39;00m:\n\u001b[1;32m 890\u001b[0m \u001b[38;5;66;03m# this is the current error\u001b[39;00m\n\u001b[0;32m--> 891\u001b[0m \u001b[38;5;28;01mraise\u001b[39;00m \u001b[38;5;167;01mAttributeError\u001b[39;00m(\u001b[38;5;124mf\u001b[39m\u001b[38;5;124m'\u001b[39m\u001b[38;5;132;01m{\u001b[39;00m\u001b[38;5;28mtype\u001b[39m(\u001b[38;5;28mself\u001b[39m)\u001b[38;5;241m.\u001b[39m\u001b[38;5;18m__name__\u001b[39m\u001b[38;5;132;01m!r}\u001b[39;00m\u001b[38;5;124m object has no attribute \u001b[39m\u001b[38;5;132;01m{\u001b[39;00mitem\u001b[38;5;132;01m!r}\u001b[39;00m\u001b[38;5;124m'\u001b[39m)\n",
"\u001b[0;31mAttributeError\u001b[0m: 'FileRepository' object has no attribute 'generate_git_patch'"
]
}
],
"source": [
Expand Down

0 comments on commit dbc87fd

Please sign in to comment.