Skip to content

Commit

Permalink
docs: remove Literal as it is not being used (#2149)
Browse files Browse the repository at this point in the history
This PR removes the use of `from typing import Literal` since it is not
being used in the code implementation
  • Loading branch information
sarthakgupta072 authored Dec 19, 2024
1 parent 8dcd058 commit 6f5d6d9
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions docs/docs/tutorials/introduction.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -553,9 +553,6 @@
"metadata": {},
"outputs": [],
"source": [
"from typing import Literal\n",
"\n",
"\n",
"def route_tools(\n",
" state: State,\n",
"):\n",
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 6f5d6d9

Please sign in to comment.