WeKnora/internal/infrastructure
jack 1fc00cdc08
fix(agent): share one configurable budget for web_fetch (#4432)
web_fetch stopped at 60s inside the page fetch. The tool wrapper, storePage,
and the HTTP and chromedp fetcher each had their own cap, so a page that
needed about 150s never finished.

WEKNORA_WEB_FETCH_TIMEOUT is the single page budget (default 3m). HTTP and
chromedp share it, and the agent wrapper waits 5 seconds longer so the tool
can return its own result. Other tools and the 15s pipeline fetcher keep
their current timeouts.

Fixes #2298

Co-authored-by: Frank-zhu2000 <332350688+Frank-zhu2000@users.noreply.github.com>
2026-10-17 22:28:32 +08:00
..
chunker fix(chunker): respect Markdown fences during heading detection 2026-10-08 21:06:59 +08:00
docparser fix(docparser): bound MinerU result packages and their expansion (#4396) 2026-10-16 19:37:27 +08:00
web_fetch fix(agent): share one configurable budget for web_fetch (#4432) 2026-10-17 22:28:32 +08:00
web_search fix(web-search): bound provider response bodies instead of buffering them whole (#4370) 2026-10-16 17:16:39 +08:00