From 2af687d1c536a892201af8cc8f14c61736c7c7f7 Mon Sep 17 00:00:00 2001 From: sabaimran Date: Sun, 8 Dec 2024 11:51:24 -0800 Subject: [PATCH] Allow snippetHighlighted to also be nullable --- src/khoj/database/models/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/khoj/database/models/__init__.py b/src/khoj/database/models/__init__.py index f6fb148e7..e98fb886b 100644 --- a/src/khoj/database/models/__init__.py +++ b/src/khoj/database/models/__init__.py @@ -53,7 +53,7 @@ class AnswerBox(PydanticBaseModel): link: Optional[str] = None snippet: Optional[str] = None title: str - snippetHighlighted: List[str] + snippetHighlighted: Optional[List[str]] = None class PeopleAlsoAsk(PydanticBaseModel):