Skip to content

Commit ecbf1e5

Browse files
committed
fix: Increase max allowed depth to 200
1 parent e18b3b6 commit ecbf1e5

2 files changed

Lines changed: 3 additions & 3 deletions

File tree

asknews_sdk/dto/alert.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ class DeepNewsReportParams(DeepNewsParams):
157157
search_depth: Optional[int] = Field(
158158
default=2,
159159
ge=1,
160-
le=80,
160+
le=190,
161161
description=(
162162
"The search depth for deep research. Higher values mean more "
163163
"thorough research. Defaults to 2."
@@ -166,7 +166,7 @@ class DeepNewsReportParams(DeepNewsParams):
166166
max_depth: Optional[int] = Field(
167167
default=4,
168168
ge=1,
169-
le=100,
169+
le=200,
170170
description="The maximum research depth allowed. Defaults to 4.",
171171
)
172172
start_citation_number: Optional[int] = Field(

asknews_sdk/dto/deepnews.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ class CreateDeepNewsRequest(BaseSchema):
9292
title=("The search depth for deep research. Higher values mean more thorough research.")
9393
),
9494
] = 2
95-
max_depth: Annotated[Optional[int], Field(title="The maximum research depth allowed.")] = 4
95+
max_depth: Annotated[Optional[int], Field(title="The maximum research depth allowed.")] = 10
9696
sources: Annotated[
9797
Optional[
9898
Union[

0 commit comments

Comments
 (0)