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:
Topherhindman
2026-02-17 15:04:41 -08:00
committed by GitHub
parent b66728d81f
commit cb13593fbc
3 changed files with 5 additions and 5 deletions
+2 -2
View File
@@ -30,8 +30,8 @@ tasks:
- test -z "$LIVEKIT_AGENT_NAME"
cmds:
- |
old="WorkerOptions("
new="WorkerOptions(agent_name=\"{{ .LIVEKIT_AGENT_NAME }}\", "
old='agent_name="my-agent"'
new='agent_name="{{ .LIVEKIT_AGENT_NAME }}"'
file="{{ .PYTHON_MAIN }}"
tmp="$(mktemp)"
while IFS= read -r line; do