MCPcopy
hub / github.com/vercel/chatbot / MessagesProps

Interface MessagesProps

components/messages.tsx:12–21  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import { useDataStream } from './data-stream-provider';
11
12interface MessagesProps {
13 chatId: string;
14 status: UseChatHelpers<ChatMessage>['status'];
15 votes: Array<Vote> | undefined;
16 messages: ChatMessage[];
17 setMessages: UseChatHelpers<ChatMessage>['setMessages'];
18 regenerate: UseChatHelpers<ChatMessage>['regenerate'];
19 isReadonly: boolean;
20 isArtifactVisible: boolean;
21}
22
23function PureMessages({
24 chatId,

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…