mirror of
https://github.com/qodo-ai/pr-agent.git
synced 2025-07-02 20:00:41 +08:00
Don't remove eyes
This commit is contained in:
@ -83,10 +83,8 @@ async def handle_request(body: Dict[str, Any]):
|
||||
api_url = pull_request.get("url")
|
||||
comment_id = body.get("comment", {}).get("id")
|
||||
provider = get_git_provider()(pr_url=api_url)
|
||||
added_reaction = provider.add_eyes_reaction(comment_id)
|
||||
provider.add_eyes_reaction(comment_id)
|
||||
await agent.handle_request(api_url, comment_body)
|
||||
if added_reaction:
|
||||
provider.remove_reaction(comment_id, added_reaction)
|
||||
|
||||
|
||||
elif action == "opened" or 'reopened' in action:
|
||||
|
Reference in New Issue
Block a user