ChatBaseHeaderProps
Agent Runtimes / chat/header/ChatHeaderBase / ChatBaseHeaderProps
Interface: ChatBaseHeaderProps
Defined in: chat/header/ChatHeaderBase.tsx:39
Properties
brandIcon?
optionalbrandIcon?:ReactNode
Defined in: chat/header/ChatHeaderBase.tsx:41
chatViewMode?
optionalchatViewMode?:ChatViewMode
Defined in: chat/header/ChatHeaderBase.tsx:60
Current chat view mode
headerActions?
optionalheaderActions?:ReactNode
Defined in: chat/header/ChatHeaderBase.tsx:43
headerButtons?
optionalheaderButtons?:HeaderButtonsConfig
Defined in: chat/header/ChatHeaderBase.tsx:52
Header button configuration
headerContent?
optionalheaderContent?:ReactNode
Defined in: chat/header/ChatHeaderBase.tsx:42
messageCount
messageCount:
number
Defined in: chat/header/ChatHeaderBase.tsx:54
Current count of messages (used to conditionally show clear button)
onChatViewModeChange?
optionalonChatViewModeChange?: (mode) =>void
Defined in: chat/header/ChatHeaderBase.tsx:62
Callback when view mode changes
Parameters
mode
Returns
void
onClear
onClear: () =>
void
Defined in: chat/header/ChatHeaderBase.tsx:58
Callback when clear is triggered
Returns
void
onInformationClick?
optionalonInformationClick?: () =>void
Defined in: chat/header/ChatHeaderBase.tsx:45
Returns
void
onNewChat
onNewChat: () =>
void
Defined in: chat/header/ChatHeaderBase.tsx:56
Callback when new chat is triggered
Returns
void
onSandboxInterrupt
onSandboxInterrupt: () =>
void
Defined in: chat/header/ChatHeaderBase.tsx:50
Callback to interrupt sandbox code execution
Returns
void
padding
padding:
number
Defined in: chat/header/ChatHeaderBase.tsx:46
sandboxStatus?
optionalsandboxStatus?:SandboxStatusData
Defined in: chat/header/ChatHeaderBase.tsx:48
Sandbox status from the backend
showInformation?
optionalshowInformation?:boolean
Defined in: chat/header/ChatHeaderBase.tsx:44
title?
optionaltitle?:string
Defined in: chat/header/ChatHeaderBase.tsx:40