| 98 | } |
| 99 | |
| 100 | interface 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 | |
| 112 | interface PiContext { |
| 113 | systemPrompt?: string; |
nothing calls this directly
no outgoing calls
no test coverage detected