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

Remove last message if role is assistant #40

Merged
merged 1 commit into from
Sep 13, 2024

Conversation

zionhann
Copy link
Member

This patch addresses the issue where the OpenAI Completion API’s chat summary would return unexpected content.

Expected: A summary (or journal draft) of the chat.
Actual: The answer to the assistant’s last question.

@zionhann zionhann added the Patch label Sep 13, 2024
@zionhann zionhann merged commit 16bd02c into main Sep 13, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant