Hello there, adventurous coder! ๐ Are you tired of those pesky Python errors ruining your day? Ever wished you could teach your Language Learning Model (LLM) to understand your specific coding mistakes? Well, guess what? Your wish has just come true! ๐
- Real-Time Error Capturing: Automatically captures Python errors as they happen. ๐
- Codebase Snapshots: Takes a snapshot of the relevant code files and saves them in a user-specific directory. ๐ธ
- Shell Flexibility: Works with both Bash and Zsh. ๐
- Systray Integration: A handy systray menu for quick interactions. ๐ฑ
- On macOS: The snapshot and error files get saved to
~/Library/Application Support/PythonCapture
. - On Windows: The files will be saved in a corresponding AppData folder.
- Clone this repository:
git clone https://github.com/YourUsername/PythonErrorCollectorForLLMs.git
- Navigate into the project directory:
cd PythonErrorCollectorForLLMs
- Install the required Go packages (make sure Go is installed):
go get -u github.com/getlantern/systray go get -u github.com/google/uuid
- Build the Go project:
go build
-
Start the application:
./your_compiled_binary
-
Use the systray menu to:
- Set your preferred shell ๐
- Add or remove an alias ๐
-
Run your Python scripts as you normally would. If an error occurs, the application will capture it along with a snapshot of your codebase.
-
The collected data will be used to fine-tune your LLM. ๐ฏ
Feel free to fork, open a pull request, or submit issues. All contributions are welcomed! ๐ค
This project is licensed under the MIT License - see the LICENSE file for details.
Happy coding! May your Python scripts be ever error-free and your LLMs ever smarter! ๐ฅณ