I have a workflow. The first step in the workflow ...
# agents
m
I have a workflow. The first step in the workflow is kind of a router agent, that routes to other agent. Everytime the user is done taking, I want the router agent to execute first. Currently, I have implemented it by updating the agent in
on_user_turn_completed
. But the latency is high! Currently preemptive generation is turned off as I am changing the instructions and tools in
on_user_turn_completed
. How can I reduce latency? Any way I can acheive this and take advantage of preemptive generation?
Devin gave me some interesting options. I would love if a subject matter expert could review and recommend an option.