summaryrefslogtreecommitdiff
path: root/models
diff options
context:
space:
mode:
Diffstat (limited to 'models')
-rw-r--r--models/models.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/models.go b/models/models.go
index 51a4b87..c88417f 100644
--- a/models/models.go
+++ b/models/models.go
@@ -285,7 +285,7 @@ type Tool struct {
}
type OpenAIReq struct {
- ChatBody
+ *ChatBody
Tools []Tool `json:"tools"`
}