MCPcopy Create free account
hub / github.com/experdot/pointer / ChatMessage

Interface ChatMessage

src/main/aiHandler.ts:27–33  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

25}
26
27export interface ChatMessage {
28 role: 'user' | 'assistant' | 'system'
29 content:
30 | string
31 | Array<{ type: 'text' | 'image_url'; text?: string; image_url?: { url: string } }>
32 attachments?: FileAttachment[]
33}
34
35export interface AIRequest {
36 requestId: string

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected