Tavily search fails with "Query is too long. Max query length is 1500 characters"
Author: quanqanCreated Sep 27, 2026Updated Sep 27, 2026
插件的实现缺陷:它应该只取模型输出的最后一行/关键词部分作为 query,或者截断到 1500 字符内,而不是把整个输出(含思考过程)直接发给 Tavily。附上你这张请求截图,核心一句话:
When using a reasoning model (e.g., Qwen3 with thinking enabled), the full thinking output is sent as Tavily's query, causing "Query is too long. Max query length is 1500 characters" (HTTP 400). The extension should strip/trim the model output before sending.Source: n4ze3m/page-assist