Hi, when can we expect more information around 1.3...
# agents
c
Hi, when can we expect more information around 1.3.1, we are going to try this on our side. Question we have specifically is regarding AgentServer: 1. Will this replace WorkerOptions entirely? 2. What happens to Prewarm? Will this also become obsolete and replaced by Agentserver.setup_fnc? 3. With AgentServer we should also run the agent with “uv run agent.py start” moving forward? Compared to python -m agent.py start So far from what I ready I really like the new setup with AgentServer.
l
1. WorkerOptions still exists for backwards compatibility, but has been renamed to ServerOptions with the same parameters: https://github.com/livekit/agents/blob/main/livekit-agents/livekit/agents/worker.py#L241 . Many of these parameters can also be passed to the AgentServer constructor: https://docs.livekit.io/agents/server/options/ 2. Prewarm is not going away, just how you attach it to AgentServer has changed, see the agent starter at https://github.com/livekit-examples/agent-starter-python/blob/main/src/agent.py for an example. 3. The recommended approach is to use
uv run agent.py start
, yes.
c
Thanks @lively-winter-88668 really helpful stuff! This AgentServer approach really makes LiveKit even more of a flexible framework than it already is!