MCPcopy
hub / github.com/OpenCoworkAI/open-codesign / PiAssistantMessage

Interface PiAssistantMessage

packages/providers/src/index.ts:100–110  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

98}
99
100interface PiAssistantMessage {
101 role: 'assistant';
102 content: Array<{ type: string; text?: string }>;
103 api: string;
104 provider: string;
105 model: string;
106 usage: PiUsage;
107 stopReason: 'stop' | 'length' | 'toolUse' | 'error' | 'aborted';
108 errorMessage?: string;
109 timestamp: number;
110}
111
112interface PiContext {
113 systemPrompt?: string;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected