refactor(models): Add mapped type hints to MessageAnnotation (#27751)

This commit is contained in:
-LAN-
2026-01-05 15:50:03 +08:00
committed by GitHub
parent 52149c0d9b
commit a99ac3fe0d
5 changed files with 15 additions and 10 deletions

View File

@ -98,7 +98,7 @@ def enable_annotation_reply_task(
if annotations:
for annotation in annotations:
document = Document(
page_content=annotation.question,
page_content=annotation.question_text,
metadata={"annotation_id": annotation.id, "app_id": app_id, "doc_id": annotation.id},
)
documents.append(document)