Skip to content

DirectModeOptions

Defined in: types.ts:45

Direct backend mode options.

optional autoExecuteTools: boolean

Defined in: types.ts:75

Auto-execute tools and continue the conversation.

false

backend: DirectBackend

Defined in: types.ts:49

The backend adapter to use (Bridge or BackendAdapter).


optional defaultParameters: IRParameters

Defined in: types.ts:59

Default IR parameters for requests.


optional maxToolRounds: number

Defined in: types.ts:81

Maximum tool execution rounds.

10

optional onToolCall: DirectToolCallHandler

Defined in: types.ts:69

Handler for tool calls.


optional systemPrompt: string | () => string | Promise<string>

Defined in: types.ts:54

System prompt to prepend to conversations.


optional tools: readonly IRTool[]

Defined in: types.ts:64

Available tools for the conversation.