ReasoningPlanSettings interface
Settings for creating a reasoning plan session.
Two modes of operation: - Tool-calling mode: provide callbacks. The planning LLM is told about the available tools and designs the spec around them. The evaluation LLM invokes tools, and the SDK dispatches to the user’s callback functions. - Text mode: omit callbacks, 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) |
|
(Optional) |
||
boolean |
(Optional) Whether an audio source is available. When true, the planning LLM can select audio analysis tools (VAD, audio energy) for local processing. |
|
(error: string) ⇒ void |
(Optional) |
|
(spec: ReasoningSpec) ⇒ void |
(Optional) |
|
(response: unknown) ⇒ void |
(Optional) |
|
string |