Explorar o código

Pass extra_body to the backend

Elsa hai 1 ano
pai
achega
af00f7b311
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {