diff --git a/CHANGELOG.md b/CHANGELOG.md index 8bc723299..a1d246657 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -80,10 +80,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 - Fixed an issue in `AudioBufferProcessor` when using `SmallWebRTCTransport` where, if the microphone was muted, track timing was not respected. +- Fixed an error that occurs when pushing an `LLMMessagesFrame`. Only some LLM + services, like Grok, are impacted by this issue. The fix is to remove the + optional `name` property that was being added to the message. + - Fixed an issue in `AudioBufferProcessor` that caused garbled audio when `enable_turn_audio` was enabled and audio resampling was required. -- Fixed a dependency issue for uv users where an `llvmlite` version required python 3.9. +- Fixed a dependency issue for uv users where an `llvmlite` version required + python 3.9. - Fixed an issue in `MiniMaxHttpTTSService` where the `pitch` param was the incorrect type. diff --git a/src/pipecat/processors/aggregators/openai_llm_context.py b/src/pipecat/processors/aggregators/openai_llm_context.py index 82edcadb0..c00b9fbe7 100644 --- a/src/pipecat/processors/aggregators/openai_llm_context.py +++ b/src/pipecat/processors/aggregators/openai_llm_context.py @@ -111,8 +111,6 @@ class OpenAILLMContext: context = OpenAILLMContext() for message in messages: - if "name" not in message: - message["name"] = message["role"] context.add_message(message) return context