fix(fastapi): makes notes required with default to fix type null in schema issue

This commit is contained in:
sauravniraula 2025-07-17 07:45:35 +05:45
parent 9200adbcb6
commit acbc46d658
No known key found for this signature in database
GPG key ID: 60FCC1B5A5E83326

View file

@ -23,7 +23,8 @@ def get_presentation_markdown_model_with_n_slides(n_slides: int):
min_length=10,
max_length=50,
)
notes: Optional[List[str]] = Field(
notes: List[str] = Field(
default=[],
description="Important notes for the presentation styling and formatting",
min_length=0,
max_length=10,