From a029e0b70ceb17d70a53345b62603d1be02f21e5 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Tue, 13 May 2025 16:31:13 -0700 Subject: [PATCH] AsyncModel.chain() raises NotImplementedError, closes #1021 --- llm/models.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/llm/models.py b/llm/models.py index f3c5371..a0266be 100644 --- a/llm/models.py +++ b/llm/models.py @@ -1358,6 +1358,9 @@ class _AsyncModel(_BaseModel): key=key, ) + def chain(self, *args, **kwargs): + raise NotImplementedError("AsyncModel does not yet support tools") + class AsyncModel(_AsyncModel): @abstractmethod