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

Interface ChatPart

ui/src/api.ts:1803–1816  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1801}
1802
1803export interface ChatPart {
1804 id: string;
1805 type: string; // text | reasoning | tool | prompt | image | steer
1806 phase?: "commentary" | "final_answer";
1807 text?: string;
1808 /** Original file name for an `image` (attachment) part, when known. */
1809 name?: string;
1810 tool?: string;
1811 state?: ChatToolState;
1812 prompt?: ChatPrompt;
1813 /** Nested transcript of a sub-agent this part spawned (Codex `subagent`
1814 * tool). Streams live and recurses for sub-agents that spawn their own. */
1815 children?: ChatPart[];
1816}
1817
1818export interface ChatMessage {
1819 id: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected