Rigved Telang b17471207d
feat(websearch): add exclude_subdomains parameter to SerperDevWebSearch (#9729)
* feat: add domain filtering with subdomain exclusion to SerperDevWebSearch

- Introduced `exclude_subdomains` parameter to control whether to include subdomains in search results.
- Implemented `_is_domain_allowed` method to enforce domain filtering based on the new parameter.
- Updated tests to verify functionality of domain filtering and subdomain exclusion.

* Fix error in test

* Remove redundant test for `to_dict` method in `TestSerperDevSearchAPI` class

* Fix linting

---------

Co-authored-by: Amna Mubashar <amnahkhan.ak@gmail.com>
2025-08-29 12:22:02 +02:00
..