mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-12-11 18:35:18 +00:00
Merge pull request #153 from marshally/fix_iteration_error_in_reflect_tmp
fix TypeError when iterating discussion_messages
This commit is contained in:
commit
278f1883fd
1 changed files with 1 additions and 1 deletions
|
|
@ -250,7 +250,7 @@ class PRReviewer:
|
|||
if self.is_answer:
|
||||
discussion_messages = self.git_provider.get_issue_comments()
|
||||
|
||||
for message in reversed(discussion_messages):
|
||||
for message in discussion_messages.reversed:
|
||||
if "Questions to better understand the PR:" in message.body:
|
||||
question_str = message.body
|
||||
elif '/answer' in message.body:
|
||||
|
|
|
|||
Loading…
Reference in a new issue