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

Indexing Errors - Thread_name_idx #4

Closed
mihidumh opened this issue Jan 16, 2025 · 2 comments
Closed

Indexing Errors - Thread_name_idx #4

mihidumh opened this issue Jan 16, 2025 · 2 comments

Comments

@mihidumh
Copy link

Example Errors
chainlit - ERROR - Database error: index row size 2856 exceeds btree version 4 maximum 2704 for index "Thread_name_idx"
chainlit - ERROR - Database error: index row requires 11488 bytes, maximum size is 8191

As the thread name comes from the first message, it may be too long for the index to handle?
Not sure if this is a Datalayer or Chainlit issue.

@desaxce
Copy link
Collaborator

desaxce commented Jan 17, 2025

Thank you @mihidumh, I added @@index[name]) to speed the search on threads, but didn't limit what gets sent to the data layer. PR 1733 corrects this oversight.

@desaxce
Copy link
Collaborator

desaxce commented Jan 20, 2025

@mihidumh Can you check with chainlit 2.0.4? It includes the PR above.

@desaxce desaxce closed this as completed Jan 25, 2025
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

No branches or pull requests

2 participants