DirectModeOptions
Defined in: types.ts:45
Direct backend mode options.
Properties
Section titled “Properties”autoExecuteTools?
Section titled “autoExecuteTools?”
optionalautoExecuteTools:boolean
Defined in: types.ts:75
Auto-execute tools and continue the conversation.
Default
Section titled “Default”falsebackend
Section titled “backend”backend:
DirectBackend
Defined in: types.ts:49
The backend adapter to use (Bridge or BackendAdapter).
defaultParameters?
Section titled “defaultParameters?”
optionaldefaultParameters:IRParameters
Defined in: types.ts:59
Default IR parameters for requests.
maxToolRounds?
Section titled “maxToolRounds?”
optionalmaxToolRounds:number
Defined in: types.ts:81
Maximum tool execution rounds.
Default
Section titled “Default”10onToolCall?
Section titled “onToolCall?”
optionalonToolCall:DirectToolCallHandler
Defined in: types.ts:69
Handler for tool calls.
systemPrompt?
Section titled “systemPrompt?”
optionalsystemPrompt:string| () =>string|Promise<string>
Defined in: types.ts:54
System prompt to prepend to conversations.
tools?
Section titled “tools?”
optionaltools: readonlyIRTool[]
Defined in: types.ts:64
Available tools for the conversation.