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

This commit is contained in:
shao0222 2023-08-26 13:10:18 +08:00 committed by ckt1031
parent e6c5b0b9d6
commit 31431425dc

View File

@ -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 {