ComponentsProvider
components
object where each key matches the component you want to replace.Function
component to change how all function tool calls are
rendered. The component receives fn
, runStep
, and toolCall
props.FunctionComponentsContext.Provider
when you need different components for individual function names.MessageAttachments
MessageGroup
(and nested keys like Name
, AssistantAvatar.Root
)RunStep
and RunStep.ToolCalls
Function
CodeInterpreterToolCall
FileSearchToolCall
FallbackToolCall
TextContent
ImageFileContent
StartingSkeleton
StartingContentSkeleton