From a7eedd1d2ea50b3d2df95c85e489579d124d9548 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Fri, 1 Nov 2024 14:21:01 -0700 Subject: [PATCH] mypy fix, refs #601 --- llm/models.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/llm/models.py b/llm/models.py index f0f79eb6..838e25b1 100644 --- a/llm/models.py +++ b/llm/models.py @@ -160,7 +160,7 @@ def __init__( self._done = False self.response_json = None self.conversation = conversation - self.attachments = [] + self.attachments: List[Attachment] = [] def __iter__(self) -> Iterator[str]: self._start = time.monotonic()