mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-09-25 14:06:18 +00:00
web_fetch_tool parsed `wait_for_timeout_ms` with a bare int(), so any value that is not already an int raised ValueError and aborted the whole tool: a quoted number in YAML, or a typo like `2s`, turned every fetch into "Error: invalid literal for int() with base 10". web_capture_tool reads the same documented key through the tolerant `_as_int` helper two functions above, so the two tools disagreed about the same config key. While aligning them, web_fetch_tool now also reads `wait_for_selector_timeout_ms` instead of hardcoding 5000, so a `wait_for_selector` on a slow page can be given more than five seconds -- web_capture_tool already honours the key and the client has always accepted it. Co-authored-by: RXQ6 <RXQ6@users.noreply.github.com>