ReasoningPlanSettings interface
Settings for creating a reasoning plan session.
Two modes of operation: - Event mode: provide events. The planning LLM is told about the available events and designs the spec around them. At evaluation time, events are emitted via onLLMResponse. - Text mode: omit events, provide onResponse. The evaluation LLM returns free-form text/JSON, passed through to onResponse. - Both can be provided: tool-calling mode with onResponse capturing any text the LLM generates alongside tool calls.
Signature:
export interface ReasoningPlanSettings
Properties
| Property | Type | Description |
|---|---|---|
number |
(Optional) How often (in seconds) the evaluation runs. Informs the planner about the analysis cadence. |
|
number |
(Optional) |
|
string[] |
(Optional) Reference documents (markdown) providing domain context for the planning LLM. These are included in the system instruction and cached across frames. |
|
(Optional) |
||
(Optional) Local analysis tools available for the planner to consider. Each tool config describes the tool, its data window, and aggregation strategy. |
||
(error: string) ⇒ void |
(Optional) |
|
(spec: ReasoningSpec) ⇒ void |
(Optional) |
|
(response: unknown) ⇒ void |
(Optional) |
|
string |