MCPcopy
hub / github.com/PromtEngineer/localGPT / ChatMessage

Interface ChatMessage

src/lib/api.ts:23–30  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

21}
22
23export interface ChatMessage {
24 id: string;
25 content: string | Array<Record<string, any>> | { steps: Step[] };
26 sender: 'user' | 'assistant';
27 timestamp: string;
28 isLoading?: boolean;
29 metadata?: Record<string, unknown>;
30}
31
32export interface ChatSession {
33 id: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected