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.
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.