535 B
535 B
-
OpenAILLMContextand its associated things (context aggregators, etc.) are now deprecated in favor of the universalLLMContextand its associated things.From the developer's point of view, switching to using
LLMContextmachinery will usually be a matter of going from this:context = OpenAILLMContext(messages, tools) context_aggregator = llm.create_context_aggregator(context)To this:
context = LLMContext(messages, tools) context_aggregator = LLMContextAggregatorPair(context)