ComponentsProvidercomponents
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.MessageAttachmentsMessageGroup (and nested keys like Name, AssistantAvatar.Root)RunStep and RunStep.ToolCallsFunctionCodeInterpreterToolCallFileSearchToolCallFallbackToolCallTextContentImageFileContentStartingSkeletonStartingContentSkeleton