Result of executing a single plan step.
| 52 | |
| 53 | @dataclass |
| 54 | class StepResult: |
| 55 | """Result of executing a single plan step.""" |
| 56 | |
| 57 | step_number: int |
| 58 | task: str |
| 59 | server: str |
| 60 | response: str |
| 61 | error: Optional[str] = None |
| 62 | tool: str = "" |
| 63 | tool_args: dict = field(default_factory=dict) |
| 64 | duration_ms: float | None = None |
| 65 | |
| 66 | @property |
| 67 | def success(self) -> bool: |
| 68 | return self.error is None |
| 69 | |
| 70 | |
| 71 | @dataclass |
no outgoing calls