Closed Jon-Biz closed 3 days ago
Thank you for filing this issue.
Looks like Haiku sometimes decides to not follow instructions (see here -> https://github.com/paul-gauthier/aider/blob/main/aider/prompts.py#L15) and start yapping with the additional first line.
You can either try to also use Sonnet-3.5 for the weak model to generate the commit messages and hope it will follow those instructions with -> --weak-model claude-3-5-sonnet-20240620
Or you can try using this prompt (adapted from this shell function which never let me down so far with Haiku to generate commit messages), which I propose here -> #1852
You can try it out with these instructions ->
pip install git+https://github.com/fry69/aider@commit-prompt-fix
# or
pipx install git+https://github.com/fry69/aider@commit-prompt-fix --force
Please let me know if this works better for you.
But not always.
445bb7a
from above. The following do follow the predominant pattern:Aider version: 0.58.1 Python version: 3.12.1 Platform: macOS-13.0.1-x86_64-i386-64bit Python implementation: CPython Virtual environment: No OS: Darwin 22.1.0 (64bit) Git version: git version 2.39.2 (Apple Git-143)
Aider v0.58.1 Main model: openrouter/anthropic/claude-3-opus with diff edit format Weak model: openrouter/anthropic/claude-3-haiku Git repo: .git with 26 files Repo-map: using 1024 tokens, auto refresh