eli64s / readme-ai

README file generator, powered by large language model APIs 👾
MIT License
1.33k stars 140 forks source link

Error generating README for https://github.com/avjinder/Minimal-Todo #102

Open peterbarber opened 2 months ago

peterbarber commented 2 months ago

Hi,

I'm attempting to generate a README file for https://github.com/avjinder/Minimal-Todo (from the sample sites)

Using Docker

Command is: docker run -v ~/:/app -e GOOGLE_API_KEY= zeroxeli/readme-ai:latest --api GEMINI --repository https://github.com/avjinder/Minimal-Todo

Error received: File "/home/tempuser/.local/lib/python3.10/site-packages/readmeai/generators/tables.py", line 58, in format_code_summaries for summary in code_summaries: TypeError: 'NotFound' object is not iterable

ISO53 commented 3 weeks ago

Me too. Same command, same error.

CodeBerserkers888 commented 2 weeks ago

try use this

docker run -v ~/Minimal-Todo:/app -e GOOGLE_API_KEY=YOUR_GOOGLE_API_KEY zeroxeli/readme-ai:latest --api GEMINI --repository https://github.com/avjinder/Minimal-Todo

A bit of tuning with the addition of Docker "flags" I think will help with debugging 📦 a jesli to nie pomoze czas uzyc ciezkiego mlotka ..*nie wal mlotkiem w klawiature prosze :)You can try running the Docker container in interactive mode to check the environment inside the container yourself..

docker run -it -v ~/Minimal-Todo:/app -e GOOGLE_API_KEY=YOUR_GOOGLE_API_KEY zeroxeli/readme-ai:latest /bin/bash

and then you run ... by copying

readme-ai --api GEMINI --repository https://github.com/avjinder/Minimal-Todo

well, and don't forget to let us know if it helped :)