new_chat_ctx = agent.chat_ctx.copy() n...
# ask-ai
v
new_chat_ctx = agent.chat_ctx.copy() new_chat_ctx.add_message(role=“user”, content=[“hello”]) asyncio.create_task(agent.update_chat_ctx(new_chat_ctx)) how do this work ?
t
Thanks for reaching out, Ravi. I'm an AI assistant and I'm here to help. Give me a moment while I research this topic.
I don't have the answer you're looking for. You could also try asking your question: • in one of the other Slack channels or • to https://deepwiki.com/livekit/livekit_composite which is trained on all LiveKit source code If you find the answer, please post it here to help others!