Bläddra i källkod

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

JustSong 2 år sedan
förälder
incheckning
373f50c8eb
1 ändrade filer med 1 tillägg och 0 borttagningar
  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 {