chore: linting

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-05-02 22:25:04 -07:00
parent cea8618aed
commit bdb97a0888
4 changed files with 16 additions and 3 deletions

View file

@ -98,6 +98,7 @@ def _compute_turn_cancelling_retry_delay(attempt: int) -> int:
def _first_interrupt_value(state: Any) -> dict[str, Any] | None:
"""Return the first LangGraph interrupt payload across all snapshot tasks."""
def _extract_interrupt_value(candidate: Any) -> dict[str, Any] | None:
if isinstance(candidate, dict):
value = candidate.get("value", candidate)

View file

@ -564,4 +564,6 @@ async def test_interrupt_request_uses_task_that_contains_interrupt(
interrupts = _of_type(payloads, "data-interrupt-request")
assert len(interrupts) == 1
assert interrupts[0]["data"]["action_requests"][0]["name"] == "create_calendar_event"
assert (
interrupts[0]["data"]["action_requests"][0]["name"] == "create_calendar_event"
)