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

add feature and test PR generation #2

Merged
merged 14 commits into from
Nov 18, 2023
Merged

add feature and test PR generation #2

merged 14 commits into from
Nov 18, 2023

Conversation

chalermporn17
Copy link
Owner

@chalermporn17 chalermporn17 commented Nov 18, 2023

Motivation and Improvement

This pull request introduces a new feature to the project and improves the pull request generation process. The changes include:

  1. Model Selection: The pull request generation now selects the appropriate OpenAI model based on the size of the pull request. If the pull request is large, a bigger model will be chosen to handle the generation process effectively.

  2. Termination for Large Pull Requests: If there are no available models to handle a large pull request, the generation process will be terminated to prevent errors or performance issues.

  3. File Type Filtering: The pull request description will now only include specific file types, ensuring that irrelevant or trash files are not included in the description.

These changes enhance the automation of pull request descriptions, making them more accurate and informative.

@chalermporn17 chalermporn17 merged commit 3a7e2b9 into master Nov 18, 2023
@chalermporn17 chalermporn17 deleted the dev branch November 18, 2023 10:12
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.

1 participant