From a3ce43dabb4cc77f291630d2d791e9a2aac02004 Mon Sep 17 00:00:00 2001 From: Wondr Date: Sat, 6 Jun 2026 01:12:29 +0100 Subject: [PATCH] fix: use public cancellation property Signed-off-by: Wondr --- mellea/stdlib/streaming.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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