best-bear-18668
10/03/2025, 7:43 AMgenerate_reply(). When the system prompt is modified, the entire cache is invalidated - it is inefficient both latency-wise and cost-wise.
1. Is my understanding correct?
2. Is there a more efficient way to build a workflow, for example, by restricting the tools that could be called? For example, first call tool_1, then [tool_2 or tool_3], then ... so on.
Here is a Langgraph example.
https://langchain-ai.github.io/langgraph/tutorials/sql/sql-agent/#3-customizing-the-agent
PS: I know we can integrate Langgraph into Livekit (like this). But, I prefer to do everything in one framework, rather than mix two frameworks.thousands-television-12141
10/05/2025, 10:17 AMbest-bear-18668
10/07/2025, 8:14 PM