Skip to content

fix: remove content from Message if content is an empty array #1895

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

Merged
merged 1 commit into from
Apr 21, 2025

Conversation

vachillo
Copy link
Member

Describe your changes

Remove content param if it is empty, rather than settting it to a blank string.

Issue ticket number and link

@vachillo vachillo requested a review from collindutter April 21, 2025 20:48
@vachillo vachillo changed the title fix: remove from Message if is an empty array fix: remove content from Message if content is an empty array Apr 21, 2025
@collindutter collindutter merged commit 95f22bb into main Apr 21, 2025
15 checks passed
@collindutter collindutter deleted the openai_compat_content branch April 21, 2025 21:10
collindutter pushed a commit that referenced this pull request Apr 21, 2025
)

fix: remove  from Message if  is an empty array
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.

2 participants