fix: create doc_status even when LightRAG lacks multimodal insert args#255
fix: create doc_status even when LightRAG lacks multimodal insert args#255LarFii merged 4 commits intoHKUDS:mainfrom
Conversation
|
hi @DeepaliPaspule i just tried your solution and it works with text content but for image content (and or multi modal contents i believe) it doesn't work. Is that the case for you too or it's just me |
Thanks for checking — you were right, there was still a compatibility gap for image/multimodal-only documents on older LightRAG versions. I’ve pushed a follow-up fix to the same branch/PR. The update falls back to a schema-compatible doc_status update when the storage rejects the multimodal_processed field, so image-only and multimodal documents can still complete properly. I also added a regression test covering that image-only case |
|
Thanks for the follow-up fixes and tests here. Compared with #251, this is the more complete direction because it filters optional There are still a couple of things I would like clarified before merge:
I would prefer to resolve this PR's semantics before merging #253, since #253 changes where multimodal completion state lives and overlaps with this fix area. |
Thanks, I’ve pushed a follow-up update to the same PR. I addressed the older-storage semantics by persisting multimodal completion state in a separate compatibility KV namespace when doc_status rejects the multimodal_processed field. Reads now check that fallback state as well, so it should not cause repeated multimodal processing or inconsistent get_document_processing_status() / is_document_fully_processed() behavior on older LightRAG-style storage. I also renamed the test file for readability and re-ran: That suite includes the explicit compatibility case where ainsert accepts neither multimodal_content nor scheme_name. |
|
@LarFii Do we have any further action on this issue? |
Summary
Testing
Closes #244