소스 검색

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 {