style: fix gci formatting in openaiContentPart struct

This commit is contained in:
lcolok 2026-03-03 14:56:58 +08:00
parent 0207584315
commit 152529ae14

View file

@ -287,7 +287,7 @@ func parseResponse(body []byte) (*LLMResponse, error) {
// openaiContentPart represents a content part in the OpenAI Vision API format. // openaiContentPart represents a content part in the OpenAI Vision API format.
type openaiContentPart struct { type openaiContentPart struct {
Type string `json:"type"` // "text" or "image_url" Type string `json:"type"` // "text" or "image_url"
Text string `json:"text,omitempty"` Text string `json:"text,omitempty"`
ImageURL *protocoltypes.ImageURL `json:"image_url,omitempty"` ImageURL *protocoltypes.ImageURL `json:"image_url,omitempty"`
} }