Преглед изворни кода

Pass extra_body to the backend

Elsa пре 1 година
родитељ
комит
af00f7b311
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      dto/openai_request.go

+ 1 - 0
dto/openai_request.go

@@ -47,6 +47,7 @@ type GeneralOpenAIRequest struct {
 	Dimensions          int             `json:"dimensions,omitempty"`
 	Modalities          any             `json:"modalities,omitempty"`
 	Audio               any             `json:"audio,omitempty"`
+	ExtraBody           any             `json:"extra_body,omitempty"`
 }
 
 type OpenAITools struct {