CubeLoop — a Pythonic, async-native agent harness core designed for high performance, readability, and production-grade persistence.
Python agent-frameworkagent-harnessagent-runtimeagentic-aiai-agentsai-frameworkanthropicharnessharness-engineeringharness-frameworklanggraphlanggraph-alternativellmmcpopenaipi-agentpi-agent-corepythonpython-agent
fix(middleware): use typing_extensions.TypedDict for Pydantic v2 on Python < 3.12
xf gongb86f980c1c42
diff --git a/cubepi/middleware/todo.py b/cubepi/middleware/todo.pyindex d5b36ca..ed097cc 100644--- a/cubepi/middleware/todo.py+++ b/cubepi/middleware/todo.py@@ -26,7 +26,9 @@ from __future__ import annotationsimport asyncioimport jsonfrom collections.abc import Callable-from typing import Any, Literal, TypeAlias, TypedDict, cast+from typing import Any, Literal, TypeAlias, cast++from typing_extensions import TypedDictfrom cubepi.agent.types import (AfterToolCallContext,