Shared ``max_results`` coercion for the migrated bundled search providers. Four providers (``ddg_search``, ``image_search``, ``fastcrw``, ``firecrawl``) carried byte-identical copies of this coercion, differing only in the provider label of their warning line. #5865 audited the f
# Source: https://github.com/bytedance/deer-flow | License: MIT | Copyright 2025 Bytedance Ltd. and/or its affiliates # Provided via justclaw.it.com; keep this notice with the code. """Shared ``max_results`` coercion for the migrated bundled search providers. Four providers (``ddg_search``, ``image_search``, ``fastcrw``, ``firecrawl``) carried byte-identical copies of this coercion, differing only in the provider label of their warning line. #5865 audited the family value by value against the #5852 bar; folding the identical copies into one function is what lets the remaining providers be brought onto the same bar one at a time without re-deciding in each file what "invalid" means. You.com also uses this shared coercion, then applies its 100-result cap to the normalized count before send ... (truncated -- full source via MCP)
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key