Skip to content

Commit cbeb38b

Browse files
committed
feat(autofix): Expose pr_iteration_enabled in autofix state response
1 parent 47bd549 commit cbeb38b

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/sentry/seer/endpoints/group_ai_autofix.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -487,6 +487,9 @@ def get(self, request: Request, group: Group) -> Response[AutofixStateResponse]:
487487
"coding_agents": {
488488
agent_id: agent.dict() for agent_id, agent in state.coding_agents.items()
489489
},
490+
"pr_iteration_enabled": bool(
491+
state.metadata.get("pr_iteration_enabled") if state.metadata else False
492+
),
490493
}
491494
}
492495
)

0 commit comments

Comments
 (0)