fix: fix the issue of function_call not working when using model mapping.

This commit is contained in:
shao0222 2023-08-24 11:58:53 +08:00
parent efeb9a16ce
commit 80ac3b3e87

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 {