Update OpenAIRealtimeLLMService to work with LLMContext and LLMContextAggregatorPair (cont'd).

Add warning about no longer pushing `TTSTextFrame`s.
This commit is contained in:
Paul Kompfner
2025-10-23 16:39:13 -04:00
parent 1f96cdf970
commit 8894db4290
2 changed files with 9 additions and 2 deletions

View File

@@ -885,8 +885,11 @@ class OpenAIRealtimeLLMService(LLMService):
" context_aggregator.assistant(),\n"
" ]\n"
")\n\n"
"Once you've done that (if needed), you can dismiss this warning "
"by updating to the new context-setup pattern:\n\n"
"Also, LLMTextFrames are no longer pushed from "
"OpenAIRealtimeLLMService when it's configured with "
"output_modalities=['audio']. Listen for TTSTextFrames instead.\n\n"
"Once you've made the appropriate changes (if needed), you can"
"dismiss this warning by updating to the new context-setup pattern:\n\n"
" context = LLMContext(messages, tools)\n"
" context_aggregator = LLMContextAggregatorPair(context)\n"
)