mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-11-08 03:30:34 +00:00
* fix(community): initialize InfoQuest TLS clients off the event loop InfoQuest's fetch, web search and image search constructed httpx.AsyncClient inline in their coroutines, so the default transport loaded the TLS trust store synchronously on the agent event loop (~125 ms per call in a local probe). RAGFlow, LightRAG, You.com, GroundRoute and Webz already construct their clients with asyncio.to_thread; InfoQuest was the missed sibling. Move the three constructions to asyncio.to_thread and cover all three methods in the blocking-I/O TLS test. Requests, cleanup, timeouts and responses stay on the event loop. Co-Authored-By: Claude Code <noreply@anthropic.com> * docs: qualify the off-loop HTTPX provider list The list is not exhaustive; several community clients still construct their client inline. Use non-exhaustive wording until the follow-up sweep lands. Co-Authored-By: Claude Code <noreply@anthropic.com> * docs: correct the off-loop provider list after merging main --------- Co-authored-by: Claude Code <noreply@anthropic.com> Co-authored-by: Willem Jiang <willem.jiang@gmail.com>