Skip to content

Conventional commit support, per file summaries #75

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

Merged
merged 4 commits into from
Mar 4, 2023
Merged

Conversation

zurawiki
Copy link
Owner

@zurawiki zurawiki commented Mar 4, 2023

  • Update openai libraries
  • Add option to enable per-file summary, disabled by default
  • Add option to generate conventional commit summary, enabled by default
  • Tweak prompts

Closes #22

zurawiki added 3 commits March 4, 2023 16:55
- Add new files and modify existing files in `prompts` directory
- Clarify bullet point summary guidelines and print commit labels in `prompts/conventional_commit.tera`
- Refactor `new()` function in `summarize.rs` for improved organization
- Add `output_show_per_file_summary` option for more flexible display of summaries
- Improve handling of commit message translation in `summarize.rs`
- Add new fields and implementations in `settings.rs` for improved functionality
- Add support for conventional commit prefix in commit messages
- Refactor configuration prompts to be in the settings file
- Improve commit message generation for cases with conventional commit prefix
- Update and clarify `chore` and `docs`label descriptions in prompts.
- Remove a section of chat prompt in `get_chat_completions` method in `src/llms/openai.rs`.
- Update dependencies `async-openai` and `async-trait` in `Cargo.toml`.
@zurawiki zurawiki merged commit 3ea5133 into main Mar 4, 2023
@zurawiki zurawiki deleted the add-conv-commit branch March 4, 2023 23:31
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.

support conventional commits
1 participant