From d88f4ff368a3b64f163d32bf3f88570e4812b32e Mon Sep 17 00:00:00 2001 From: Pi Agent Date: Sun, 7 Jun 2026 15:39:05 +0000 Subject: [PATCH] fix(streaming): use public mot.cancelled property in streaming.py:437 Closes #1219 Assisted-by: Kimi --- 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