Przeglądaj źródła

fix: fix the issue of function_call not working when using model mapping (#462)

shao0222 2 lat temu
rodzic
commit
4f2f911e4d
1 zmienionych plików z 1 dodań i 0 usunięć
  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 {