Show failure reason on failed collection file indexing #3229
Closed
Raymond9734
started this conversation in
Ideas
Replies: 1 comment 1 reply
|
@Raymond9734 thanks for reporting this. We do already have an issue for tracking this improvement so I'm going to close this as a duplicate (but I've copied some of your content to the other issue). The other issue is #3164 |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Hey 👋 I’m Raymond Madara
While testing the Voyage AI embeddings integration (#1952), I ran into something that felt like a rough edge worth discussing.
When a file fails to index whether it's a rate limit, a bad API key, or a network hiccup the UI just shows a red "Failed" badge next to the file. There's no indication of why it failed. The error is logged in Celery, but it never makes it back to the user.
In my case, Voyage AI was hitting a rate limit (free tier, 3 RPM). The files kept failing and I had no idea from the UI, I had to dig through Docker logs to figure it out. A user without access to logs would be completely stuck.
What I'd suggest
failure_reasonfield (TextField, blank=True) toCollectionFileLocalIndexManager.add_files()This affects all providers (OpenAI, Google, Voyage AI) any failure is currently silent.
cc: @SmittieC and @snopoke
All reactions