diff --git a/src/khoj/database/models/__init__.py b/src/khoj/database/models/__init__.py index 82583bc0..dea678d8 100644 --- a/src/khoj/database/models/__init__.py +++ b/src/khoj/database/models/__init__.py @@ -40,7 +40,7 @@ class CodeContextResult(PydanticBaseModel): class CodeContextData(PydanticBaseModel): code: str - result: CodeContextResult + result: Optional[CodeContextResult] = None class WebPage(PydanticBaseModel):