fix(sdk): retain image IDs on chunks (#19505)

Fix SDK dropping image_id — Chunk now retains it (was AttributeError despite API returning it).
This commit is contained in:
Wenchao An authored and GitHub committed 2026-09-14 10:59:00 +08:00
1 parent b8f0fc496f
commit 464e672ff6
2 files changed
+108

No files matched your search

+1
View File
@@ -29,6 +29,7 @@ class Chunk(Base):
def __init__(self, rag, res_dict):
self.id = ""
self.content = ""
self.image_id = ""
self.important_keywords = []
self.tag_kwd = []
self.questions = []