ComponentOverrides
Interface: ComponentOverrides
Properties
Composer?
optionalComposer:ComponentType
The component to use for the composer (the input area where users type messages)
UserMessage?
optionalUserMessage:ComponentType
The component to use for the user message.
EditComposer?
optionalEditComposer:ComponentType
The component to use for the edit composer (inline message editor)
AssistantMessage?
optionalAssistantMessage:ComponentType
The component to use for the assistant message (messages generated by the LLM).
Note: if you override this, the Text component will not be used.
ThreadWelcome?
optionalThreadWelcome:ComponentType
The component to use for the thread welcome.
Text?
optionalText:TextMessagePartComponent
The component to use for the text message.
Image?
optionalImage:ImageMessagePartComponent
The component to use for the image message.
ToolFallback?
optionalToolFallback:ToolCallMessagePartComponent
The component to use for the tool fallback (default UI shown when a tool returns a result).
Reasoning?
optionalReasoning:ReasoningMessagePartComponent
The component to use for the reasoning message.
ReasoningGroup?
optionalReasoningGroup:ReasoningGroupComponent
The component to use for the reasoning group.
ToolGroup?
optionalToolGroup:ComponentType<PropsWithChildren<{startIndex:number;endIndex:number; }>>
The component to use for the tool group (a group of tool calls returned by the LLM in a single message).
Last updated on