From 7ffb10d7f599b502af9536259bafb6e090fadb17 Mon Sep 17 00:00:00 2001 From: Kwindla Hultman Kramer Date: Sun, 19 May 2024 12:44:45 -0700 Subject: [PATCH] add to CHANGELOG.md --- CHANGELOG.md | 10 ++++++++++ .../processors/aggregators/openai_llm_context.py | 1 - 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 10b964a30..9fcdd4fea 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added +- Added `google.generativeai` model support, including vision. This new `google` service defaults to using + `gemini-1.5-flash-latest`. Example in `examples/foundational/12a-describe-video-gemini-flash.py`. + +- Added vision support to `openai` service. Example in + `examples/foundational/12a-describe-video-gemini-flash.py`. + +## [Unreleased] + +### Added + - Added initial interruptions support. The assistant contexts (or aggregators) should now be placed after the output transport. This way, only the completed spoken context is added to the assistant context. diff --git a/src/pipecat/processors/aggregators/openai_llm_context.py b/src/pipecat/processors/aggregators/openai_llm_context.py index 94b60baac..65c8da6ad 100644 --- a/src/pipecat/processors/aggregators/openai_llm_context.py +++ b/src/pipecat/processors/aggregators/openai_llm_context.py @@ -91,7 +91,6 @@ class OpenAILLMContext: def get_messages_json(self) -> str: return json.dumps(self.messages, cls=CustomEncoder) - # return json.dumps(self.messages) def set_tool_choice( self, tool_choice: ChatCompletionToolChoiceOptionParam | NotGiven