Commit 32db0934 by shao0222 Committed by GitHub

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

parent 574be5bd
...@@ -40,6 +40,7 @@ type GeneralOpenAIRequest struct { ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment