Skip to content

Commit

Permalink
Merge pull request #359 from gitautoai/wes
Browse files Browse the repository at this point in the history
Fix an opposite condition: is_commented
  • Loading branch information
hiroshinishio authored Oct 28, 2024
2 parents 04b8145 + 818f055 commit e4ae7eb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions services/gitauto_handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -173,10 +173,10 @@ async def handle_gitauto(payload: GitHubLabeledPayload, trigger_type: str) -> No

# Update the comment if any obstacles are found
messages = [{"role": "user", "content": pr_body}]
_messages, _previous_calls, token_input, token_output, is_solvable = (
_messages, _previous_calls, token_input, token_output, is_commented = (
chat_with_agent(messages=messages, base_args=base_args, mode="comment")
)
if not is_solvable:
if is_commented:
return

# Create a remote branch
Expand Down

0 comments on commit e4ae7eb

Please sign in to comment.