瀏覽代碼

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 {