ogre-run / miniogre

Automate the management of software dependencies with AI, to ensure your Python code runs on any computer.
https://docs.ogre.run
Apache License 2.0
43 stars 6 forks source link

If README can't be generated, print error message in the returned README.md file #14

Open wilderlopes opened 5 months ago

wilderlopes commented 5 months ago

The issue

Whenever the code base token count is greater than the LLM context window, the README generation fails. Then an empty README.md is returned, leaving the user without an explanation on why that happened.

Proposed solution

Whenever that error (or another one) happens, the error message should be printed in the returned README file as a way to inform the user that a problem has occurred.