diff --git a/mellea/stdlib/streaming.py b/mellea/stdlib/streaming.py index 2de0c6d37..9f2e46fa8 100644 --- a/mellea/stdlib/streaming.py +++ b/mellea/stdlib/streaming.py @@ -434,7 +434,7 @@ def as_thunk(self) -> ModelOutputThunk[str]: "as_thunk accessed before acomplete() — await acomplete() first" ) thunk = ModelOutputThunk(value=self.full_text) - thunk._cancelled = self._mot._cancelled + thunk._cancelled = self._mot.cancelled thunk.generation = copy(self._mot.generation) thunk.parsed_repr = thunk.value # type: ignore[assignment] return thunk