Skip to main content

ChatBaseHeaderProps

Agent Runtimes


Agent Runtimes / chat/header/ChatHeaderBase / ChatBaseHeaderProps

Interface: ChatBaseHeaderProps

Defined in: chat/header/ChatHeaderBase.tsx:39

Properties

brandIcon?

optional brandIcon?: ReactNode

Defined in: chat/header/ChatHeaderBase.tsx:41


chatViewMode?

optional chatViewMode?: ChatViewMode

Defined in: chat/header/ChatHeaderBase.tsx:60

Current chat view mode


headerActions?

optional headerActions?: ReactNode

Defined in: chat/header/ChatHeaderBase.tsx:43


headerButtons?

optional headerButtons?: HeaderButtonsConfig

Defined in: chat/header/ChatHeaderBase.tsx:52

Header button configuration


headerContent?

optional headerContent?: 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?

optional onChatViewModeChange?: (mode) => void

Defined in: chat/header/ChatHeaderBase.tsx:62

Callback when view mode changes

Parameters

mode

ChatViewMode

Returns

void


onClear

onClear: () => void

Defined in: chat/header/ChatHeaderBase.tsx:58

Callback when clear is triggered

Returns

void


onInformationClick?

optional onInformationClick?: () => 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?

optional sandboxStatus?: SandboxStatusData

Defined in: chat/header/ChatHeaderBase.tsx:48

Sandbox status from the backend


showInformation?

optional showInformation?: boolean

Defined in: chat/header/ChatHeaderBase.tsx:44


title?

optional title?: string

Defined in: chat/header/ChatHeaderBase.tsx:40