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

Function AssistantMessageDisplay

packages/ui/src/components/message-part.tsx:67–74  ·  view source on GitHub ↗
(props: { message: AssistantMessage; parts: PartType[] })

Source from the content-addressed store, hash-verified

65}
66
67export function AssistantMessageDisplay(props: { message: AssistantMessage; parts: PartType[] }) {
68 const filteredParts = createMemo(() => {
69 return props.parts?.filter((x) => {
70 return x.type !== "tool" || (x as ToolPart).tool !== "todoread"
71 })
72 })
73 return <For each={filteredParts()}>{(part) => <Part part={part} message={props.message} />}</For>
74}
75
76export function UserMessageDisplay(props: { message: UserMessage; parts: PartType[] }) {
77 const text = createMemo(() =>

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected