Skip to content

feat(api): return better error message on missing embedding #2369

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

schuellerf
Copy link

I had a setup where my embedding model didn't reply properly and had a really hard time figuring out where
"NoneType object is not iterable" comes from.
With this error message, it should be easier to find the problem.

Possibly this is a bad place to create this exception, so please hint me into the right direction. I just
debugged my problem down to this place.

  • I understand that this repository is auto-generated and my pull request may not be merged

@schuellerf schuellerf requested a review from a team as a code owner May 21, 2025 19:05
I had a setup where my embedding model didn't reply properly
and had a really hard time figuring out where
"NoneType object is not iterable" comes from.
With this error message, it should be easier to find the problem.
@schuellerf schuellerf force-pushed the improve-missing-embeddings-error-message branch from dcf2023 to 03feca5 Compare May 21, 2025 19:05
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.

1 participant