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

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"`
 	Input       any       `json:"input,omitempty"`
 	Instruction string    `json:"instruction,omitempty"`
 	Instruction string    `json:"instruction,omitempty"`
 	Size        string    `json:"size,omitempty"`
 	Size        string    `json:"size,omitempty"`
+	Functions   any       `json:"functions,omitempty"`
 }
 }
 
 
 type ChatRequest struct {
 type ChatRequest struct {