research-agent / src /agent_state.py
Punit1's picture
Switch to HF Space README
52e9d16
raw
history blame contribute delete
354 Bytes
import operator
from typing import TypedDict, Annotated, List, Dict
class AgentState(TypedDict):
"""
Represents the state of our research agent.
"""
topic: str
urls: List[str]
scraped_content: Dict # Changed from List[dict] to Dict for consistency
summaries: Annotated[List[str], operator.add]
report: str
error: str