fix: session unbound during parent-child retrieval (#29396)

This commit is contained in:
Jyong
2025-12-10 14:08:55 +08:00
committed by GitHub
parent e8720de9ad
commit b49e2646ff
3 changed files with 9 additions and 16 deletions

View File

@@ -697,7 +697,7 @@ class LLMNode(Node[LLMNodeData]):
).all()
if attachments_with_bindings:
for _, upload_file in attachments_with_bindings:
attchment_info = File(
attachment_info = File(
id=upload_file.id,
filename=upload_file.name,
extension="." + upload_file.extension,
@@ -711,7 +711,7 @@ class LLMNode(Node[LLMNodeData]):
storage_key=upload_file.key,
url=sign_upload_file(upload_file.id, upload_file.extension),
)
context_files.append(attchment_info)
context_files.append(attachment_info)
yield RunRetrieverResourceEvent(
retriever_resources=original_retriever_resource,
context=context_str.strip(),