MCPcopy Create free account
hub / github.com/alphaXiv/OpenResearch / ChatMessage

Interface ChatMessage

ui/src/api.ts:1818–1825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1816}
1817
1818export interface ChatMessage {
1819 id: string;
1820 role: "user" | "assistant";
1821 parts: ChatPart[];
1822 createdAt: number;
1823 completedAt?: number | null;
1824 parentId?: string | null;
1825}
1826
1827/** How much of the model's context window a session has used, measured off the
1828 * most recent API request (latest wins, not cumulative). `contextWindow` is

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected