right now web_search is hardcoded to brave. there's no way to plug in a
different provider without forking web.py.
there have been like 15 PRs trying to add tavily, searxng, serper,
duckduckgo, etc — none have merged because there's no agreed seam to hook
into. would be great to just define a SearchProvider https://typing.python.org/en/latest/spec/protocol.html and have
WebSearchTool accept one at construction time, with brave staying as the
default. then people can bring their own without the core needing to maintain
adapters for every api.
related PRs: #93 #199 #398 #507 #547 #661 #681 #715 #906 #932 #1235 #1266 #1321 #1354 #1431
related issues: #405 #586 #691 #927 #941 #1280 #1625 #1708
right now web_search is hardcoded to brave. there's no way to plug in a
different provider without forking web.py.
there have been like 15 PRs trying to add tavily, searxng, serper,
duckduckgo, etc — none have merged because there's no agreed seam to hook
into. would be great to just define a SearchProvider https://typing.python.org/en/latest/spec/protocol.html and have
WebSearchTool accept one at construction time, with brave staying as the
default. then people can bring their own without the core needing to maintain
adapters for every api.
related PRs: #93 #199 #398 #507 #547 #661 #681 #715 #906 #932 #1235 #1266 #1321 #1354 #1431
related issues: #405 #586 #691 #927 #941 #1280 #1625 #1708