Skip to content

Commit 49f9361

Browse files
authored
Specifying default= in AnswerSettings.answer_length (#1000)
1 parent 5301409 commit 49f9361

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

paperqa/settings.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,8 @@ class AnswerSettings(BaseModel):
9898
),
9999
)
100100
answer_length: str = Field(
101-
"about 200 words, but can be longer", description="Length of final answer."
101+
default="about 200 words, but can be longer",
102+
description="Length of final answer.",
102103
)
103104
max_concurrent_requests: int = Field(
104105
default=4, description="Max concurrent requests to LLMs."

0 commit comments

Comments
 (0)