Issue with lk.chat not triggering response in Agents 1.5+

Hi LiveKit Team,

In LiveKit Agents 1.4.3, lk.chat triggered responses (LLM + TTS).
In 1.5+, it doesn’t trigger any reply.

From frontend I’m sending like this:

await room.localParticipant.sendText(msg, { topic: "lk.chat" });

This is working fine in 1.4.3 but not working in 1.5+.

What’s the recommended replacement?

I can reproduce this with LiveKit Agents 1.5.0 but I cannot reproduce this with LiveKit Agents 1.5.1.

I suspect this may have been fixed by this PR: fix(core): restore chat topic support in room IO by chenghao-mou · Pull Request #5181 · livekit/agents · GitHub (based on the name)