From 7d03758c832ca2226741066d939b78bbecdf68d8 Mon Sep 17 00:00:00 2001 From: Greyson LaLonde Date: Thu, 22 Jan 2026 20:27:50 -0500 Subject: [PATCH] fix: use typing_extensions.TypedDict for Python < 3.12 compatibility --- lib/crewai/src/crewai/utilities/types.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/crewai/src/crewai/utilities/types.py b/lib/crewai/src/crewai/utilities/types.py index 326edc15e..3b4b83c52 100644 --- a/lib/crewai/src/crewai/utilities/types.py +++ b/lib/crewai/src/crewai/utilities/types.py @@ -1,9 +1,9 @@ """Types for CrewAI utilities.""" -from typing import Any, Literal, TypedDict +from typing import Any, Literal from crewai_files import FileInput -from typing_extensions import NotRequired +from typing_extensions import NotRequired, TypedDict class LLMMessage(TypedDict): @@ -28,4 +28,4 @@ class KickoffInputs(TypedDict, total=False): files: Named file inputs accessible to tasks during execution. """ - files: dict[str, FileInput] \ No newline at end of file + files: dict[str, FileInput]