Closed artmoskvin closed 11 months ago
Turned out that the tests/
dir was recognized as a file and saved. And when the system tried to save tests/my_test.py
it failed with the exception above. For now I decided to filter out the paths that end with /
while parsing the LLM output.
AI proposed to create dir
tests/
for tests but left it empty. Directory was added to staging and created during commit as a file (why?). On another iteration I asked AI to implement the tests and when it tried to save them it failed withFile exists: '/Users/artemm/Code/autocoder/projects/example1/tests'