From 3c23ff2403124753314cc960635930d9b1134760 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Fri, 8 Aug 2025 09:43:00 +0300 Subject: Feat: openai type func call for llamacpp --- models/models.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'models') 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"` } -- cgit v1.2.3