From 55007d27f808426128a7b2d86169e86c4cf01b57 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Wed, 27 Nov 2024 15:09:43 +0300 Subject: Fix: tool calls --- models/models.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'models') diff --git a/models/models.go b/models/models.go index 880779f..02bec00 100644 --- a/models/models.go +++ b/models/models.go @@ -12,8 +12,8 @@ import ( // } type FuncCall struct { - Name string `json:"name"` - Args string `json:"args"` + Name string `json:"name"` + Args []string `json:"args"` } type LLMResp struct { -- cgit v1.2.3