(self, config: ExtractorConfig)
| 194 | """ |
| 195 | |
| 196 | def __init__(self, config: ExtractorConfig) -> None: |
| 197 | self._model = config.model or "" |
| 198 | self._run_dir = config.run_dir |
| 199 | self._repo_root = config.repo_root |
| 200 | self._debug = config.debug |
| 201 | self.provider: LLMProvider = make_provider(self._model) |
| 202 | try: |
| 203 | self.batch_provider: BatchProvider = make_batch_provider(self._model) |
| 204 | except ValueError: |
| 205 | pass # model doesn't support batch; accessed only via --batch flag |
| 206 | self._cancelled = threading.Event() |
| 207 | |
| 208 | def cancel(self) -> None: |
| 209 | """Signal all in-progress extract() calls to stop after their current |
nothing calls this directly
no test coverage detected