Commit Graph

4 Commits

Author SHA1 Message Date
a48f4638c0 Update git log command format
- Modified the `log_command` to use a more detailed pretty format
  - Changed to `--pretty="format:%h%n%ad%n%s%n%n%b%n---%n"`
2024-08-19 19:52:03 +02:00
b4702c1a72 Update config path resolution logic
- Modify `resolve_config_path` to check for `.json` files.
- First check in the current directory.
- Then check in `.ait` directory in the user's home directory.
- Return filename even if non-existent for later failure handling.
2024-08-19 19:11:25 +02:00
59ac01451f Add newline characters around generated text
- Added `\n` before and after `generated_text` in the print statement
2024-08-19 18:50:42 +02:00
2dce81fcdb Add script to generate PR descriptions using OpenAI
- Created a new Python script `ait.py`
- Implemented functions for loading config, resolving paths, and running git commands
- Integrated OpenAI API to generate text from git outputs
- Added command-line interface for user inputs and configuration settings
2024-08-19 16:27:59 +02:00