Skip to content

Commit 61fe34d

Browse files
rgambeegithub-actions[bot]
authored andcommitted
Change default forecast effort level to high (#5798)
As discussed in the product sync earlier today. Claude falls back to a low-effort forecast if the user doesn't have a large enough balance. Sourced from commit 29d9153bbece81342555befc1aac22d4bfbb5ad1
1 parent b6056d2 commit 61fe34d

5 files changed

Lines changed: 34 additions & 17 deletions

File tree

futuresearch-mcp/src/futuresearch_mcp/models.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -459,8 +459,7 @@ class ForecastInput(_SingleSourceInput):
459459
effort_level: ForecastEffortLevel | None = Field(
460460
default=None,
461461
description="Effort level for the forecast. 'low' tends to be faster and cheaper. "
462-
"'high' tends to be more accurate. When not specified, defaults to 'high' for "
463-
"single-question forecasts and 'low' for multi-question forecasts.",
462+
"'high' tends to be more accurate. When not specified, defaults to 'high'.",
464463
)
465464
output_field: str | None = Field(
466465
default=None,

src/futuresearch/generated/api/operations/single_agent_operations_single_agent_post.py

Lines changed: 28 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,14 @@ def sync_detailed(
7575
body: SingleAgentOperation,
7676
x_cohort_source: None | str | Unset = UNSET,
7777
) -> Response[ErrorResponse | InsufficientBalanceResponse | OperationResponse]:
78-
"""Single AI research agent
78+
"""Single AI research agent (deprecated)
7979
80-
Run a single AI agent to perform research and generate a response.
80+
**DEPRECATED.** Will be removed in a future release.
81+
Use `/operations/agent-map` (one task per row, optionally with `return_list=True`)
82+
or `/operations/multi-agent` (parallel agents synthesized per row) instead.
83+
Both accept an empty `input` list to generate output from the task alone.
84+
85+
Run a single AI agent to perform research and generate a response.
8186
8287
**Configuration options** (mutually exclusive):
8388
@@ -123,9 +128,14 @@ def sync(
123128
body: SingleAgentOperation,
124129
x_cohort_source: None | str | Unset = UNSET,
125130
) -> ErrorResponse | InsufficientBalanceResponse | OperationResponse | None:
126-
"""Single AI research agent
131+
"""Single AI research agent (deprecated)
132+
133+
**DEPRECATED.** Will be removed in a future release.
134+
Use `/operations/agent-map` (one task per row, optionally with `return_list=True`)
135+
or `/operations/multi-agent` (parallel agents synthesized per row) instead.
136+
Both accept an empty `input` list to generate output from the task alone.
127137
128-
Run a single AI agent to perform research and generate a response.
138+
Run a single AI agent to perform research and generate a response.
129139
130140
**Configuration options** (mutually exclusive):
131141
@@ -166,9 +176,14 @@ async def asyncio_detailed(
166176
body: SingleAgentOperation,
167177
x_cohort_source: None | str | Unset = UNSET,
168178
) -> Response[ErrorResponse | InsufficientBalanceResponse | OperationResponse]:
169-
"""Single AI research agent
179+
"""Single AI research agent (deprecated)
170180
171-
Run a single AI agent to perform research and generate a response.
181+
**DEPRECATED.** Will be removed in a future release.
182+
Use `/operations/agent-map` (one task per row, optionally with `return_list=True`)
183+
or `/operations/multi-agent` (parallel agents synthesized per row) instead.
184+
Both accept an empty `input` list to generate output from the task alone.
185+
186+
Run a single AI agent to perform research and generate a response.
172187
173188
**Configuration options** (mutually exclusive):
174189
@@ -212,9 +227,14 @@ async def asyncio(
212227
body: SingleAgentOperation,
213228
x_cohort_source: None | str | Unset = UNSET,
214229
) -> ErrorResponse | InsufficientBalanceResponse | OperationResponse | None:
215-
"""Single AI research agent
230+
"""Single AI research agent (deprecated)
231+
232+
**DEPRECATED.** Will be removed in a future release.
233+
Use `/operations/agent-map` (one task per row, optionally with `return_list=True`)
234+
or `/operations/multi-agent` (parallel agents synthesized per row) instead.
235+
Both accept an empty `input` list to generate output from the task alone.
216236
217-
Run a single AI agent to perform research and generate a response.
237+
Run a single AI agent to perform research and generate a response.
218238
219239
**Configuration options** (mutually exclusive):
220240

src/futuresearch/generated/models/forecast_operation.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,7 @@ class ForecastOperation:
3636
units (None | str | Unset): Units for the numeric forecast (e.g. 'USD per barrel', 'thousands'). Required when
3737
forecast_type is 'numeric'.
3838
effort_level (ForecastEffortLevel | None | Unset): Effort level for the forecast. 'LOW' tends to be faster and
39-
cheaper. 'HIGH' tends to be more accurate. When not specified, defaults to 'HIGH' for single-question forecasts
40-
and 'LOW' for multi-question forecasts.
39+
cheaper. 'HIGH' tends to be more accurate. When not specified, defaults to 'HIGH'.
4140
"""
4241

4342
input_: ForecastOperationInputType2 | list[ForecastOperationInputType1Item] | UUID

src/futuresearch/generated/models/multi_agent_operation.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,8 @@ class MultiAgentOperation:
3939
agents), medium (4 agents), high (6 agents). Default: PublicEffortLevel.MEDIUM.
4040
join_with_input (bool | Unset): If True, merge the synthesized output with the input row. Default: True.
4141
return_list (bool | Unset): If True, treat each row's synthesized output as a list of records and emit one
42-
output row per item (with an `_expand_index` column). Default: False.
42+
output row per item (with an `_expand_index` column). The `response_schema` should describe a single item; the
43+
worker wraps it in a list automatically. Do not pre-wrap your schema. Default: False.
4344
"""
4445

4546
input_: list[MultiAgentOperationInputType1Item] | MultiAgentOperationInputType2 | UUID

src/futuresearch/ops.py

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -907,8 +907,7 @@ async def forecast(
907907
session: Optional session. If not provided, one will be created automatically.
908908
forecast_type: ``"binary"`` for probability forecasts, ``"numeric"`` for
909909
percentile estimates, ``"date"`` for date percentile estimates.
910-
effort_level: affects accuracy and cost of forecast. Default: high for single
911-
questions, low for multiple questions.
910+
effort_level: affects accuracy and cost of forecast. Default: high.
912911
output_field: Name of the quantity being forecast (required for numeric
913912
and date, e.g. ``"price"``, ``"launch_date"``).
914913
units: Units for numeric forecasts (e.g. ``"USD per barrel"``).
@@ -965,8 +964,7 @@ async def forecast_async(
965964
input: Input data.
966965
forecast_type: ``"binary"`` for yes/no probability, ``"numeric"`` for
967966
percentile estimates, ``"date"`` for date percentile estimates.
968-
effort_level: affects accuracy and cost of forecast. Default: high for single
969-
questions, low for multiple questions.
967+
effort_level: affects accuracy and cost of forecast. Default: high.
970968
output_field: Name of the quantity (required for numeric and date).
971969
units: Units for numeric forecasts (required for numeric).
972970

0 commit comments

Comments
 (0)