fix: set agent_name via rtc_session decorator, revert CLI flag
AgentServer in livekit-agents 1.4.x does not support --agent-name CLI flag. The agent_name must be set on @server.rtc_session() decorator. Also reverts docker-compose.yml command back to plain python agent.py start. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
services:
|
||||
agent:
|
||||
build: .
|
||||
command: python agent.py start --agent-name matrix-ai
|
||||
command: python agent.py start
|
||||
env_file: .env
|
||||
restart: unless-stopped
|
||||
network_mode: host
|
||||
|
||||
Reference in New Issue
Block a user