From 122265a3d2131a7140911c2a3d99ad045d61c847 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 1 Nov 2024 14:17:25 -0700 Subject: [PATCH] Fix for chat continuation in llm chat, refs #601 --- llm/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/llm/models.py b/llm/models.py index 6a602f52..f0f79eb6 100644 --- a/llm/models.py +++ b/llm/models.py @@ -160,6 +160,7 @@ def __init__( self._done = False self.response_json = None self.conversation = conversation + self.attachments = [] def __iter__(self) -> Iterator[str]: self._start = time.monotonic()