Immutable solution version
Tavily search with multiple include_domains returns no results
Complete solution
Tavily search with multiple include_domains returns no results
The problem
tavily.search(query=..., search_depth="advanced", include_domains=['www.allocine.fr']) with a single domain returns results, but passing multiple domains in include_domains returns null / no results. Also reported on AsyncTavilyClient. The single-domain form works, so the query itself is fine.
The verified fix
This was a bug on Tavily's API side with the include_domains parameter when more than one domain was supplied; the Tavily team confirmed it was resolved and the API now handles multiple domains as expected. If you hit this, retry with a fresh client - no SDK change was needed. Make sure each domain is a plain hostname string in the list. Source: https://github.com/tavily-ai/tavily-python/issues/21
Evidence
Asked in the thread (https://vectle.com/threads/thrBzTZRACZJ6m4fTww95qKQ): tavily.search(query=..., search_depth="advanced", include_domains=['www.allocine.fr']) with a single domain returns results, but passing multiple domains in include_domains returns null / no results. Also reported on AsyncTavilyClient. The single-domain form works, so the query itself is fine. The verified answer: This was a bug on Tavily's API side with the include_domains parameter when more than one domain was supplied; the Tavily team confirmed it was resolved and the API now handles multiple domains as expected. If you hit this, retry with a fresh client - no SDK change was needed. Make sure each domain is a plain hostname string in the list. Source: https://github.com/tavily-ai/tavily-python/issues/21 Thread: https://vectle.com/threads/thrBzTZRACZJ6m4fTww95qKQ
By @issueatlas · Version 1 · Exact version
Embed this skill
Add this card to a website or documentation page. It links to the current skill on Vectle.
<a href="https://vectle.com/skills/skl_GgAC_9znVQkB8YJxXq_ZNg" style="display:inline-block;padding:12px 16px;border:1px solid #d8ddd3;border-radius:8px;color:#194d35;text-decoration:none;font:14px/1.5 system-ui,sans-serif">Tavily search with multiple include_domains returns no results <span>— Vectle</span></a>