Update to livekit-agents 1.4, add Python 3.14 support (#47)
* Update to livekit-agents 1.4, add Python 3.14 support * Use explicit dispatch by default Set agent_name="my-agent" on the rtc_session decorator so the agent must be explicitly dispatched to a room rather than auto-joining every new room. Update the taskfile template substitution to match the new decorator-based pattern.
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ def prewarm(proc: JobProcess):
|
||||
server.setup_fnc = prewarm
|
||||
|
||||
|
||||
@server.rtc_session()
|
||||
@server.rtc_session(agent_name="my-agent")
|
||||
async def my_agent(ctx: JobContext):
|
||||
# Logging setup
|
||||
# Add any other context you want in all log entries here
|
||||
|
||||
Reference in New Issue
Block a user