Open larryhudson opened 2 months ago
I've analyzed the issue, but no changes were necessary. Here's a summary of my findings:
This pull request implements a significant change to the summary generation process in Aider. Previously, Aider was generating summaries after making changes, which sometimes led to confusion and inaccuracies. The main changes in this PR are:
generate_summary
in aider/coders/base_coder.py
to handle the summary generation process.main
function in aider/main.py
to incorporate the new summary generation process.The new summary generation process aims to provide a more accurate and descriptive summary for pull requests. By using a separate LLM call and including more context (issue details, commit diffs, and Aider's coding summary), the generated summaries should be more relevant and informative.
This change should improve the overall quality of pull request descriptions and make it easier for reviewers to understand the changes made in each PR.
@Aiderbot could you have another look?
I've created a pull request to address this issue: https://github.com/larryhudson/aiderbot/pull/77
Currently we are using Aider to generate summaries after it makes changes, but it doesn't work very well. It often gets confused about the question.
I think we should move the summary generation to a separate LLM call, using the Anthropic SDK directly. We should pass in the original issue title and body, the diff from the git commits (all commits that were made in the session) and Aider's summary that it returns from the coding request. The prompt should ask the LLM to generate a descriptive summary that will be added to the pull request.
@Aiderbot could you have a look at this?