Skip to content

Commit

Permalink
Use typing_extensions typeddict (#1869)
Browse files Browse the repository at this point in the history
  • Loading branch information
hinthornw authored Sep 26, 2024
1 parent 72c5bc3 commit fe7e7b9
Showing 1 changed file with 2 additions and 11 deletions.
13 changes: 2 additions & 11 deletions libs/langgraph/langgraph/prebuilt/chat_agent_executor.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,10 @@
from typing import (
Annotated,
Callable,
Literal,
Optional,
Sequence,
Type,
TypedDict,
TypeVar,
Union,
)
from typing import Callable, Literal, Optional, Sequence, Type, TypeVar, Union

from langchain_core.language_models import BaseChatModel
from langchain_core.messages import AIMessage, BaseMessage, SystemMessage, ToolMessage
from langchain_core.runnables import Runnable, RunnableConfig, RunnableLambda
from langchain_core.tools import BaseTool
from typing_extensions import Annotated, TypedDict

from langgraph._api.deprecation import deprecated_parameter
from langgraph.graph import StateGraph
Expand Down

0 comments on commit fe7e7b9

Please sign in to comment.