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 GitHub
parent fdb2cccf65
commit 4f2f911e4d

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 {