mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-12-18 18:47:11 +00:00
Allow snippetHighlighted to also be nullable
This commit is contained in:
parent
efa23a8ad8
commit
2af687d1c5
1 changed files with 1 additions and 1 deletions
|
@ -53,7 +53,7 @@ class AnswerBox(PydanticBaseModel):
|
||||||
link: Optional[str] = None
|
link: Optional[str] = None
|
||||||
snippet: Optional[str] = None
|
snippet: Optional[str] = None
|
||||||
title: str
|
title: str
|
||||||
snippetHighlighted: List[str]
|
snippetHighlighted: Optional[List[str]] = None
|
||||||
|
|
||||||
|
|
||||||
class PeopleAlsoAsk(PydanticBaseModel):
|
class PeopleAlsoAsk(PydanticBaseModel):
|
||||||
|
|
Loading…
Reference in a new issue