Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various improvements #4

Merged
merged 2 commits into from
May 9, 2024
Merged

Various improvements #4

merged 2 commits into from
May 9, 2024

Conversation

platisd
Copy link
Owner

@platisd platisd commented May 9, 2024

Introduces various improvements to the project:

  1. Updates the README.md file to include a new input completion_prompt in the action configuration, allowing for a prompt to be used for the model to generate the PR description.
  2. Modifies the action.yml file to include the new completion_prompt input with a description and default value.
  3. Adds a new section in the autofill_description.py file for the COMPLETION_PROMPT variable, which serves as the prompt for the model to generate the PR description.
  4. Updates the autofill_description.py file to include the completion_prompt variable in the main function to be used in generating the PR description.
  5. Updates the requirements.txt file to bump the openai version to 1.27.0.

These changes enhance the project by enabling a more automated and consistent way to generate pull request descriptions using OpenAI models, thereby streamlining the contribution process and improving project documentation quality.

A lot of forks were created just to customize the completion prompt,
let's allow our users to do that through the command action configuration.
The new one is much better anyway...
@platisd platisd merged commit 6159e09 into master May 9, 2024
1 check passed
@platisd platisd deleted the various_improvements branch May 9, 2024 19:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant