agents icon indicating copy to clipboard operation
agents copied to clipboard

Why can multiple agents with the same name enter a room at the same time?

Open leejiliang opened this issue 1 year ago • 0 comments

Question: Every time I call the CreateDispatch method, a new agent will be added to the room. Shouldn't the agent with the same name be judged based on its name and repeated additions are not allowed?

Env: livekit-server: 1.7.2 livekit-agent: 0.10.1 server-sdk-go/v2: v2.2.1

key code: image

agent registe log {"message": "starting worker", "level": "INFO", "name": "livekit.agents", "version": "0.10.1", "rtc-version": "0.17.5", "timestamp": "2024-10-17T13:58:08.091712+00:00"} {"message": "registered worker", "level": "INFO", "name": "livekit.agents", "id": "AW_WqiQxQTHqoVX", "region": "", "protocol": 14, "node_id": "ND_jC3Re9aB7MpB", "timestamp": "2024-10-17T13:58:08.098390+00:00"}

image

leejiliang avatar Oct 17 '24 14:10 leejiliang