瀏覽代碼

Merge branch 'main' of https://github.com/songquanpeng/one-api

JustSong 2 年之前
父節點
當前提交
1c4409ae80
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      controller/relay.go

+ 1 - 0
controller/relay.go

@@ -40,6 +40,7 @@ type GeneralOpenAIRequest struct {
 	Input       any       `json:"input,omitempty"`
 	Instruction string    `json:"instruction,omitempty"`
 	Size        string    `json:"size,omitempty"`
+	Functions   any       `json:"functions,omitempty"`
 }
 
 type ChatRequest struct {