Response from the AI model.
| 27 | |
| 28 | @dataclass |
| 29 | class ModelResponse: |
| 30 | """Response from the AI model.""" |
| 31 | |
| 32 | thinking: str |
| 33 | action: str |
| 34 | raw_content: str |
| 35 | # Performance metrics |
| 36 | time_to_first_token: float | None = None # Time to first token (seconds) |
| 37 | time_to_thinking_end: float | None = None # Time to thinking end (seconds) |
| 38 | total_time: float | None = None # Total inference time (seconds) |
| 39 | |
| 40 | |
| 41 | class ModelClient: |