---------- OpenAI wire types (subset) ----------
| 45 | // ---------- OpenAI wire types (subset) ---------- |
| 46 | |
| 47 | type OpenAIChatMessage struct { |
| 48 | MessageId string `json:"messageid"` // internal field for idempotency (cannot send to openai) |
| 49 | Message *OpenAIMessage `json:"message,omitempty"` |
| 50 | FunctionCall *OpenAIFunctionCallInput `json:"functioncall,omitempty"` |
| 51 | FunctionCallOutput *OpenAIFunctionCallOutputInput `json:"functioncalloutput,omitempty"` |
| 52 | Usage *OpenAIUsage |
| 53 | } |
| 54 | |
| 55 | type OpenAIMessage struct { |
| 56 | Role string `json:"role"` |
nothing calls this directly
no outgoing calls
no test coverage detected