Update agent.py
Browse files
agent.py
CHANGED
|
@@ -6,6 +6,7 @@ from langgraph.prebuilt import tools_condition
|
|
| 6 |
from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
|
| 7 |
from tools import extract_text
|
| 8 |
from langchain_community.tools import DuckDuckGoSearchRun
|
|
|
|
| 9 |
|
| 10 |
|
| 11 |
class AgentState(TypedDict):
|
|
|
|
| 6 |
from langchain_huggingface import HuggingFaceEndpoint, ChatHuggingFace
|
| 7 |
from tools import extract_text
|
| 8 |
from langchain_community.tools import DuckDuckGoSearchRun
|
| 9 |
+
from typing import TypedDict,Annotated
|
| 10 |
|
| 11 |
|
| 12 |
class AgentState(TypedDict):
|