You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PR #4310 Also introduced exclude_instruction=true for google and aws realtime plugins also. The earlier verison of livekit didn't have any such restriction. They might also need to be fixed. We were previously using google-realtime models with the same approach.
Thanks a lot for this quick fix. A core feature of our agents was breaking because of this change.
@anmolgaud google realtime doesn't support system role, it only has user and model roles. before #4310 the system role was parsed as user message. and in the latest version, it will raise a warning that system message is going to be dropped, you may add your original system messages as user messages to keep the same behavior as before.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
preserves non-instruction system messages (e.g. context summaries) in
update_chat_ctxfor OpenAI realtime, instead of stripping all system messages.fix #4875