This commit is contained in:
Paul Gauthier 2024-07-31 09:56:52 -03:00
parent 745c0fcfef
commit dd166a1492
6 changed files with 24 additions and 6 deletions

View file

@ -3,15 +3,17 @@
## main branch ## main branch
- Switching to code and ask mode no longer summarizes the chat history. - Commit message improvements:
- Added Conventional Commits guidelines to commit message prompt. - Added Conventional Commits guidelines to commit message prompt.
- Added `--commit-prompt` to customize the commit message prompt.
- Added strong model as a fallback for commit messages (and chat summaries).
- Linting improvements: - Linting improvements:
- Ask before fixing lint errors. - Ask before fixing lint errors.
- Improved performance of `--lint` on all dirty files in repo. - Improved performance of `--lint` on all dirty files in repo.
- Improved lint flow, now doing code edit auto-commit before linting. - Improved lint flow, now doing code edit auto-commit before linting.
- Bugfix to properly handle subprocess encodings (also for `/run`). - Bugfix to properly handle subprocess encodings (also for `/run`).
- New aider-full docker image, which includes all extras. - New paul-gauthier/aider-full docker image, which includes all extras.
- Added strong model as a fallback for commit messages and chat summaries. - Switching to code and ask mode no longer summarizes the chat history.
- Added graph of aider's contribution to each release. - Added graph of aider's contribution to each release.
- Generic auto-completions are provided for `/commands` without a completion override. - Generic auto-completions are provided for `/commands` without a completion override.
- Fixed broken OCaml tags file. - Fixed broken OCaml tags file.

View file

@ -170,6 +170,9 @@
## Prefix commit messages with 'aider: ' (default: False) ## Prefix commit messages with 'aider: ' (default: False)
#attribute-commit-message: false #attribute-commit-message: false
## Specify a custom prompt for generating commit messages
#commit-prompt:
## Perform a dry run without modifying files (default: False) ## Perform a dry run without modifying files (default: False)
#dry-run: false #dry-run: false

View file

@ -174,6 +174,9 @@
## Prefix commit messages with 'aider: ' (default: False) ## Prefix commit messages with 'aider: ' (default: False)
#AIDER_ATTRIBUTE_COMMIT_MESSAGE=false #AIDER_ATTRIBUTE_COMMIT_MESSAGE=false
## Specify a custom prompt for generating commit messages
#AIDER_COMMIT_PROMPT=
## Perform a dry run without modifying files (default: False) ## Perform a dry run without modifying files (default: False)
#AIDER_DRY_RUN=false #AIDER_DRY_RUN=false

View file

@ -209,6 +209,9 @@ cog.outl("```")
## Prefix commit messages with 'aider: ' (default: False) ## Prefix commit messages with 'aider: ' (default: False)
#attribute-commit-message: false #attribute-commit-message: false
## Specify a custom prompt for generating commit messages
#commit-prompt:
## Perform a dry run without modifying files (default: False) ## Perform a dry run without modifying files (default: False)
#dry-run: false #dry-run: false

View file

@ -216,6 +216,9 @@ cog.outl("```")
## Prefix commit messages with 'aider: ' (default: False) ## Prefix commit messages with 'aider: ' (default: False)
#AIDER_ATTRIBUTE_COMMIT_MESSAGE=false #AIDER_ATTRIBUTE_COMMIT_MESSAGE=false
## Specify a custom prompt for generating commit messages
#AIDER_COMMIT_PROMPT=
## Perform a dry run without modifying files (default: False) ## Perform a dry run without modifying files (default: False)
#AIDER_DRY_RUN=false #AIDER_DRY_RUN=false

View file

@ -48,8 +48,8 @@ usage: aider [-h] [--file] [--openai-api-key] [--anthropic-api-key]
[--attribute-author | --no-attribute-author] [--attribute-author | --no-attribute-author]
[--attribute-committer | --no-attribute-committer] [--attribute-committer | --no-attribute-committer]
[--attribute-commit-message | --no-attribute-commit-message] [--attribute-commit-message | --no-attribute-commit-message]
[--dry-run | --no-dry-run] [--commit] [--lint] [--commit-prompt] [--dry-run | --no-dry-run] [--commit]
[--lint-cmd] [--auto-lint | --no-auto-lint] [--lint] [--lint-cmd] [--auto-lint | --no-auto-lint]
[--test-cmd] [--auto-test | --no-auto-test] [--test] [--test-cmd] [--auto-test | --no-auto-test] [--test]
[--vim] [--voice-language] [--version] [--vim] [--voice-language] [--version]
[--just-check-update] [--just-check-update]
@ -335,6 +335,10 @@ Aliases:
- `--attribute-commit-message` - `--attribute-commit-message`
- `--no-attribute-commit-message` - `--no-attribute-commit-message`
### `--commit-prompt PROMPT`
Specify a custom prompt for generating commit messages
Environment variable: `AIDER_COMMIT_PROMPT`
### `--dry-run` ### `--dry-run`
Perform a dry run without modifying files (default: False) Perform a dry run without modifying files (default: False)
Default: False Default: False