How do I reduce latency in LangChain agents that use multiple API tools?
My LangChain agent takes almost 30 seconds to respond because it calls a web search tool, then a weather tool, and then a calculator tool sequentially. Is there a way to make these tool calls run in parallel, or is the LLM forced to wait for each observation before deciding the next step?
Write a Comment
Your email address will not be published. Required fields are marked (*)