StreamOptions
Defined in: src/models/model.ts:85
Options interface for configuring streaming model invocation.
Properties
Section titled “Properties”systemPrompt?
Section titled “systemPrompt?”optional systemPrompt: SystemPrompt;Defined in: src/models/model.ts:90
System prompt to guide the model’s behavior. Can be a simple string or an array of content blocks for advanced caching.
toolSpecs?
Section titled “toolSpecs?”optional toolSpecs: ToolSpec[];Defined in: src/models/model.ts:95
Array of tool specifications that the model can use.
toolChoice?
Section titled “toolChoice?”optional toolChoice: ToolChoice;Defined in: src/models/model.ts:100
Controls how the model selects tools to use.