bot.py currently has broken pull request handling. All the fixes made in process_issue need to be replicated down to process_pull_request_comment. Also, the RAG needs more context beyond just the comment: the original issue title and description, and the proposed code changes that are receiving feedback. Proposed code changes can probably be formatted similar to how the file contents are currently presented in the context section, you just need to make it clear which files are original and which are already modified and receiving human comments. The original issue will need to be extracted from the pull request description in order to retrieve the pull request description.
bot.py currently has broken pull request handling. All the fixes made in process_issue need to be replicated down to process_pull_request_comment. Also, the RAG needs more context beyond just the comment: the original issue title and description, and the proposed code changes that are receiving feedback. Proposed code changes can probably be formatted similar to how the file contents are currently presented in the context section, you just need to make it clear which files are original and which are already modified and receiving human comments. The original issue will need to be extracted from the pull request description in order to retrieve the pull request description.