aloof-ghost-16048
03/26/2025, 11:02 AMtall-airline-16756
03/26/2025, 11:02 AMtall-airline-16756
03/26/2025, 11:02 AMVoicePipelineAgent
when using Agent Dispatch by utilizing the AgentCallContext
class. Here’s how you can do it:
1. Get the current AgentCallContext
using the static method: context = AgentCallContext.get_current()
2. Retrieve metadata using the get_metadata
method: value = context.get_metadata("key", default=None)
You can also store metadata using:
context.store_metadata("key", value)
The AgentCallContext
maintains a dictionary of metadata that can be used to store and retrieve information during agent execution.
Sources: livekit.agents.pipeline.pipeline_agent API documentationaloof-ghost-16048
03/26/2025, 12:09 PMtall-airline-16756
03/26/2025, 12:10 PMAgentCallContext
class.
If you need further assistance, I recommend consulting the LiveKit documentation or reaching out to a developer familiar with your implementation for more detailed guidance.
Sources: livekit.agents.pipeline API documentation | Dispatching agents | LiveKit Docs | AgentCallContext | LiveKit Agentsaloof-ghost-16048
03/26/2025, 1:26 PMtall-airline-16756
03/26/2025, 1:26 PMVoicePipelineAgent
. This might require further exploration of the LiveKit documentation or assistance from a developer familiar with your setup.