summaryrefslogtreecommitdiff
path: root/models/models.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-08-08 09:43:00 +0300
committerGrail Finder <wohilas@gmail.com>2025-08-08 09:43:00 +0300
commit3c23ff2403124753314cc960635930d9b1134760 (patch)
tree2898181c9619ba40a3be16c9282840736fa22e07 /models/models.go
parent9cb4561c828426502b5a28797b932db6c06e22b1 (diff)
Feat: openai type func call for llamacpp
Diffstat (limited to 'models/models.go')
-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"`
}