docs: remove Literal as it is not being used (#2149)

This PR removes the use of `from typing import Literal` since it is not
being used in the code implementation
This commit is contained in:
Sarthak Gupta
2024-12-19 15:25:27 -05:00
committed by GitHub
parent 8dcd058404
commit 6f5d6d9993
+1 -4
View File
@@ -553,9 +553,6 @@
"metadata": {},
"outputs": [],
"source": [
"from typing import Literal\n",
"\n",
"\n",
"def route_tools(\n",
" state: State,\n",
"):\n",
@@ -2653,7 +2650,7 @@
"metadata": {},
"outputs": [],
"source": [
"from typing import Annotated, Literal\n",
"from typing import Annotated\n",
"\n",
"from langchain_anthropic import ChatAnthropic\n",
"from langchain_community.tools.tavily_search import TavilySearchResults\n",