(self, model_inference, history=None)
| 21 | |
| 22 | class Session: |
| 23 | def __init__(self, model_inference, history=None) -> None: |
| 24 | self.history: list[dict] = history or [] |
| 25 | self.exception_raised = False |
| 26 | self.model_inference = self.wrap_inference(model_inference) |
| 27 | |
| 28 | def inject(self, message: dict) -> None: |
| 29 | assert isinstance(message, dict) |
nothing calls this directly
no test coverage detected