Spaces:
Running
Running
| """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] | |