(props: MessagePartProps)
| 84 | } |
| 85 | |
| 86 | export function Part(props: MessagePartProps) { |
| 87 | const component = createMemo(() => PART_MAPPING[props.part.type]) |
| 88 | return ( |
| 89 | <Show when={component()}> |
| 90 | <Dynamic component={component()} part={props.part} message={props.message} hideDetails={props.hideDetails} /> |
| 91 | </Show> |
| 92 | ) |
| 93 | } |
| 94 | |
| 95 | export interface ToolProps { |
| 96 | input: Record<string, any> |
nothing calls this directly
no outgoing calls
no test coverage detected