(self, summary_lines: list[str])
| 150 | return str(path) |
| 151 | |
| 152 | def _format_output(self, summary_lines: list[str]) -> str: |
| 153 | if self.config.structured_output: |
| 154 | payload = { |
| 155 | 'summary': summary_lines, |
| 156 | 'session_id': self.session_id, |
| 157 | } |
| 158 | return self._render_structured_output(payload) |
| 159 | return '\n'.join(summary_lines) |
| 160 | |
| 161 | def _render_structured_output(self, payload: dict[str, object]) -> str: |
| 162 | last_error: Exception | None = None |
no test coverage detected