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

Empty text content should not be set when content is nil when using AnthropicMessage #900

Merged
merged 2 commits into from
Dec 16, 2024

Conversation

andreibondarev
Copy link
Collaborator

…nthropicMessage

@andreibondarev andreibondarev changed the title Empty text content should not be set when content is nil when using A… Empty text content should not be set when content is nil when using AnthropicMessage Dec 16, 2024
@andreibondarev andreibondarev merged commit 41e232b into main Dec 16, 2024
7 checks passed
@andreibondarev andreibondarev deleted the fix-empty-text-content-hash branch December 16, 2024 23:09
@ms-ati
Copy link

ms-ati commented Dec 17, 2024

Wow! Thank you so much @andreibondarev. I will run a few more tests, but on first run this did appear to fix the issue!

@ms-ati
Copy link

ms-ati commented Dec 17, 2024

Confirmed @andreibondarev this appears to have fixed it! TYSM

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.

Assistant messages with empty content cause: ValidationException - text content blocks must be non-empty
2 participants