Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow multiple "assistant" messages to follow each other #5

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

abellion
Copy link

This PR makes it possible to send a set of messages within which two consecutive messages have the "assistant" role (it currently does not pass the validation). Doing so streamlines the validation in regards to the other roles (they can all be followed by another message of the same role), and also restores the behaviour of the API as of before April 17.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant