Commit Graph

21 Commits

Author SHA1 Message Date
5cc850b8a9 Update PR message config and model settings
- Modified the prompt to exclude closing statements.
- Increased `max_tokens` from 1000 to 2000.
- Adjusted `temperature` from 0.7 to 0.6.
2024-08-19 20:15:29 +02:00
ad14e31b75 Lower temperature setting in commit sample config
- Adjusted `temperature` value from 0.7 to 0.6 in commit sample config file
2024-08-19 20:15:20 +02:00
22972d578c Update version number to 0.0.5
- Changed version in `VERSION` file from `0.0.4` to `0.0.5`
- Note: No newline at end of file
0.0.5
2024-08-19 19:52:03 +02:00
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
b50de01653 Add .gitattributes file
- Created `.gitattributes` file
- Configured `* text=auto eol=lf` setting
2024-08-19 19:52:03 +02:00
888acd355f Update version number to 0.0.4
- Changed version in `VERSION` file from `0.0.3` to `0.0.4`
- Ensured no newline at end of file remains consistent
0.0.4
2024-08-19 19:11:25 +02:00
92b4d3872f Add fallback config file search feature
- Added a section on fallback configuration file search in `README.md`
- Explained searching for configuration files in the user's home directory under `~\.ait\*`
- Mentioned the option to provide a user-wide configuration file in the `~\.ait\` directory
2024-08-19 19:11:25 +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
aec4c78c6a Update version number to 0.0.3
- Changed version in `VERSION` file from `0.0.2` to `0.0.3`
0.0.3
2024-08-19 18:51:01 +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
c9386f8b32 Update version number to 0.0.2
- Updated version in `VERSION` file from 0.0.1 to 0.0.2
0.0.2
2024-08-19 17:40:26 +02:00
fbcb87152f Add Create Release GitHub Action
- **CreateRelease.yml**:
  - Created a workflow triggered by pushes to `main` branch and manual dispatch.
  - Configured jobs to run on `windows-latest`.
  - Steps include:
    - Checking out the code.
    - Setting up Python with version 3.x.
    - Installing dependencies `pip`, `pyinstaller`, and `openai`.
    - Extracting the version from `VERSION` file.
    - Building executable using `pyinstaller`.
    - Fetching previous release tag.
    - Generating release notes.
    - Creating a new git tag and pushing it.
    - Publishing the release on GitHub with release notes and the built executable.
2024-08-19 17:40:12 +02:00
e054eaa9f1 Add VERSION file
- Created a new VERSION file
- Set initial version to 0.0.1
2024-08-19 17:39:58 +02:00
e62b947471 Update .gitignore for test specs and build outputs
- Added `*.spec` to ignore test specification files
- Added `build/` directory to ignore build outputs
2024-08-19 17:39:45 +02:00
1b99e75de2 Update README with correct repo URL and config examples
- Update repository URL in clone instructions
- Modify example keyword configuration from `KAI` to `custom`
0.0.1
2024-08-19 16:32:15 +02:00
49256bc606 Update example config references in README
- Removed JSON example config from README
- Added references to `ait.commit.sample.config.json` and `ait.pull_request.sample.config.json`
- Renamed `ait.pull.sample.config.json` to `ait.pull_request.sample.config.json`
2024-08-19 16:30:44 +02:00
193c490f61 Add README.md with usage instructions
- Created a `README.md` file
- Added descriptions for the project's purpose and features
- Provided installation steps and prerequisites
- Included usage instructions with command-line options
- Detailed example configuration file
- Added error handling information
- Documented the license and contributing guidelines
2024-08-19 16:30:31 +02:00
8ab6c57956 Add MIT license
- Created `LICENSE` file
- Added MIT License text with copyright information
2024-08-19 16:28:26 +02:00
bbe01ebf82 Add config files for commit and pull request messages
- Created `ait.commit.sample.config.json` with parameters for generating commit messages
- Created `ait.pull.sample.config.json` with parameters for generating pull request messages
2024-08-19 16:28:13 +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
9929a80124 Add .gitignore file
- Add `ait.config.json` and `ait.*.config.json` to ignore patterns
- Exception for `ait.sample.config.json` and `ait.*.sample.config.json`
- Ignore the `dist/` directory
2024-08-19 16:27:45 +02:00