chore: linting

This commit is contained in:
DESKTOP-RTLN3BA\$punk 2026-05-15 17:33:44 -07:00
parent 219a5977b7
commit c187b04e82
25 changed files with 102 additions and 108 deletions

View file

@ -151,8 +151,7 @@ async def test_preserves_state_interrupts_traversal_order():
state_order = [
i.value["tool_call_id"]
for i in state.interrupts
if isinstance(getattr(i, "value", None), dict)
and "tool_call_id" in i.value
if isinstance(getattr(i, "value", None), dict) and "tool_call_id" in i.value
]
assert inspector_order == state_order, (

View file

@ -70,7 +70,9 @@ def _tool_start(*, name: str, run_id: str) -> dict[str, Any]:
}
async def _drain_step_ids(events: list[dict[str, Any]], *, step_prefix: str) -> set[str]:
async def _drain_step_ids(
events: list[dict[str, Any]], *, step_prefix: str
) -> set[str]:
"""Run ``_stream_agent_events`` once and return every emitted thinking-step ID."""
agent = _FakeAgent(events)
service = VercelStreamingService()