Spaces:
Running
Running
File size: 219 Bytes
877add7 | 1 2 3 4 5 6 7 8 9 10 | """Replay helpers."""
from __future__ import annotations
from app.common.types import StepTrace
def serialize_trace(trace: list[StepTrace]) -> list[dict]:
return [step.model_dump(mode="json") for step in trace]
|