MCPcopy Create free account
hub / github.com/arctic-cli/interface / Part

Function Part

packages/ui/src/components/message-part.tsx:86–93  ·  view source on GitHub ↗
(props: MessagePartProps)

Source from the content-addressed store, hash-verified

84}
85
86export 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
95export interface ToolProps {
96 input: Record<string, any>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected