style: fix gci formatting in openaiContentPart struct
This commit is contained in:
parent
0207584315
commit
152529ae14
1 changed files with 1 additions and 1 deletions
|
|
@ -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"`
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue