(self)
| 206 | self._cumulative_output += usage.output_tokens |
| 207 | |
| 208 | def cumulative_usage(self) -> TokenUsage: |
| 209 | return TokenUsage( |
| 210 | input_tokens=self._cumulative_input, |
| 211 | output_tokens=self._cumulative_output, |
| 212 | ) |
| 213 | |
| 214 | def summary(self) -> str: |
| 215 | total = self._cumulative_input + self._cumulative_output |