From 4f2f911e4d2cd12b1de037d8bef803b1cfd89f61 Mon Sep 17 00:00:00 2001 From: shao0222 <22172112+shao0222@users.noreply.github.com> Date: Sat, 26 Aug 2023 13:10:18 +0800 Subject: [PATCH] fix: fix the issue of function_call not working when using model mapping (#462) --- controller/relay.go | 1 + 1 file changed, 1 insertion(+) diff --git a/controller/relay.go b/controller/relay.go index 1eaa2c26..6a2d58eb 100644 --- a/controller/relay.go +++ b/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 {