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

Interface ChatMessage

src/renderer/src/types/type.ts:30–44  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

28}
29
30export interface ChatMessage {
31 id: string
32 role: 'user' | 'assistant' | 'system'
33 content: string
34 reasoning_content?: string
35 timestamp: number
36 starred?: boolean
37 modelId?: string
38 parentId?: string
39 children?: string[]
40 branchIndex?: number
41 isStreaming?: boolean
42 attachments?: FileAttachment[] // 文件附件数组
43 hasError?: boolean // 标记消息生成时是否发生错误
44}
45
46// 页面溯源信息
47export interface PageLineage {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected