805 B
805 B
-
⚠️ Removed
OpenAILLMContext,OpenAILLMContextFrame, andOpenAILLMContext.from_messages(). UseLLMContext(frompipecat.processors.aggregators.llm_context) andLLMContextFrame(frompipecat.frames.frames) instead. All services now exclusively use the universalLLMContext.From the developer's point of view, migrating will usually be a matter of going from this:
context = OpenAILLMContext(messages, tools) context_aggregator = llm.create_context_aggregator(context)To this:
from pipecat.processors.aggregators.llm_context import LLMContext from pipecat.processors.aggregators.llm_response_universal import LLMContextAggregatorPair context = LLMContext(messages, tools) context_aggregator = LLMContextAggregatorPair(context)