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

fix: SQLITE ERROR, zero-lenght vectors not supported #1984

Merged
merged 2 commits into from
Jan 7, 2025

Conversation

JoeyKhd
Copy link

@JoeyKhd JoeyKhd commented Jan 7, 2025

Prevents the sqlite database from getting corrupted.

Tried to just NULL as a solution first, but it would error as well.
Seems the best solution is to just store an empty array with the defined default length of 384.

@JoeyKhd JoeyKhd marked this pull request as ready for review January 7, 2025 19:23
Copy link
Member

@shakkernerd shakkernerd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

A good one.
Thanks.

@shakkernerd shakkernerd merged commit c8f1c08 into elizaOS:develop Jan 7, 2025
5 checks passed
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