polite-furniture-24847
08/15/2025, 1:26 AMtall-airline-16756
08/15/2025, 1:26 AMtall-airline-16756
08/15/2025, 1:27 AMdelete
method in the RemoteChatContext
class. Here’s a quick guide:
• Just use the method delete(item_id: str)
to point out which transcript you want to get rid of.
• For example: chat_ctx.delete("specific_item_id")
.
Doing this will take that item out of the linked list and make sure all the internal references are updated properly.
Sources: livekit-agents/livekit/agents/llm/chat_context.py