Skip to main content

HeaderButtonsConfig

Agent Runtimes


Agent Runtimes / types/chat / HeaderButtonsConfig

Interface: HeaderButtonsConfig

Defined in: types/chat.ts:152

Header button configuration

Properties

onClear?

optional onClear?: () => void

Defined in: types/chat.ts:162

Callback when clear clicked

Returns

void


onNewChat?

optional onNewChat?: () => void

Defined in: types/chat.ts:160

Callback when new chat clicked

Returns

void


onSettings?

optional onSettings?: () => void

Defined in: types/chat.ts:164

Callback when settings clicked

Returns

void


showClear?

optional showClear?: boolean

Defined in: types/chat.ts:156

Show clear button


showNewChat?

optional showNewChat?: boolean

Defined in: types/chat.ts:154

Show new chat button


showSettings?

optional showSettings?: boolean

Defined in: types/chat.ts:158

Show settings button