(self, seq_id: int)
| 1383 | return token |
| 1384 | |
| 1385 | def _reset_sampler(self, seq_id: int) -> None: |
| 1386 | if 0 <= seq_id < len(self._samplers): |
| 1387 | llama_cpp.llama_sampler_reset(self._samplers[seq_id]) |
| 1388 | |
| 1389 | def close(self) -> None: |
| 1390 | self.set_target_processing_enabled(False) |
no outgoing calls
no test coverage detected