(self)
| 27 | |
| 28 | class ScrapingAgent: |
| 29 | def __init__(self): |
| 30 | self.llm = get_llm() |
| 31 | self.llm_with_tools = self.llm.bind_tools(SCRAPING_TOOLS) |
| 32 | self.scraping_service = ScrapingService(settings.SCRAPEGRAPH_API_KEY) |
| 33 | self.graph = self._build_graph() |
| 34 | |
| 35 | def _build_graph(self) -> StateGraph: |
| 36 | graph = StateGraph(AgentState) |
nothing calls this directly
no test coverage detected