mirror of
https://github.com/langchain-ai/deepagents.git
synced 2026-07-21 17:25:26 -04:00
f240a40dc0
`fetch_url` no longer crashes when HTML-to-markdown conversion exceeds recursion depth. --- `fetch_url` can fail when `markdownify` hits Python recursion depth on deeply nested HTML. This keeps the existing markdown path but falls back to stdlib text extraction so dcode returns usable page content instead of crashing. Made by [Open SWE](https://openswe.vercel.app/agents/79d44275-aab0-bf62-abde-8242f55e0648) --------- Co-authored-by: Nick Hollon <274035459+nick-hollon-lc@users.noreply.github.com> Co-authored-by: open-swe[bot] <open-swe@users.noreply.github.com> Co-authored-by: Mason Daugherty <github@mdrxy.com>