| 116 | } |
| 117 | |
| 118 | export interface Claude3Response { |
| 119 | content: { |
| 120 | text: string; |
| 121 | type: string; |
| 122 | }[]; |
| 123 | id: string; |
| 124 | model: string; |
| 125 | role: "assistant"; |
| 126 | stop_reason: "end_turn" | "stop_sequence"; |
| 127 | stop_sequence: string | null; |
| 128 | type: "message"; |
| 129 | usage: { |
| 130 | input_tokens: number; |
| 131 | output_tokens: number; |
| 132 | }; |
| 133 | } |
| 134 | |
| 135 | export interface OpenAIError { |
| 136 | message: string; |
nothing calls this directly
no outgoing calls
no test coverage detected