Documentation Index
Fetch the complete documentation index at: https://docs.pipecat.ai/llms.txt
Use this file to discover all available pages before exploring further.
LLMContextWorker extends LLMWorker with a built-in LLMContext and a context aggregator pair, so it can track its own conversation history without manually wiring an LLMContextAggregatorPair. The pipeline is built as [user_aggregator, llm, assistant_aggregator] automatically.
Each LLMContextWorker gets its own context by default; pass the same context= to several workers to give them a shared conversation.
Configuration
Inheritsname, llm, active, bridged, and defer_tool_frames from LLMWorker, plus:
Optional pre-built
LLMContext. When omitted, a fresh empty context is
created.Optional parameters for the user aggregator.
Optional parameters for the assistant aggregator.
Properties
| Property | Type | Description |
|---|---|---|
context | LLMContext | The LLMContext owned by this agent |
user_aggregator | LLMUserAggregator | The user-side context aggregator |
assistant_aggregator | LLMAssistantAggregator | The assistant-side context aggregator |