hide-org / hide

🤖 Headless IDE for AI agents
https://hide.sh
MIT License
112 stars 5 forks source link

Bug in List files when reading some non-standard files #105

Closed prabhuteja12 closed 1 week ago

prabhuteja12 commented 1 week ago

Similar to #101 , I found another case when reading astropy. Here is the traceback.

line 144, in list_files
    raise HideClientError(response.text)
hide.client.hide_client.HideClientError: Failed to list files: Failed to list files in project onDDqHYnHh: Error reading file /astropy/io/fits/tests/data/o4sp040b0_raw.fits: Failed to create lines from content: bufio.Scanner: token too long

Thank you!

artmoskvin commented 1 week ago

Thanks for reporting! We were just working on a proper fix this morning https://github.com/artmoskvin/hide/pull/106. I'll test run it on astropy now.

prabhuteja12 commented 1 week ago

great! thank you!

aleh-null commented 1 week ago

@prabhuteja12 fix is merged, we also tested it with astropy and it's looking good. Please take a look and let us know if you have more issues.

prabhuteja12 commented 1 week ago

@aleh-null Indeed! My previously failing cases are working now. Thank you!