From a96dc2af4ce9ecdf48be86faa73bc73cc30cee43 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ren=C3=A9=20Andr=C3=A9?= Date: Mon, 18 May 2026 13:47:10 +0200 Subject: [PATCH] Fixes: id in ToolCall missing #667 --- ollama/_types.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ollama/_types.py b/ollama/_types.py index 96529d63..fdc00d2d 100644 --- a/ollama/_types.py +++ b/ollama/_types.py @@ -334,6 +334,8 @@ class ToolCall(SubscriptableBaseModel): """ Model tool calls. """ + id: Optional[str] = None + 'ID of the tool call.' class Function(SubscriptableBaseModel): """