X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/5da3ea038d1e9f9a2634d5ab137aef6989a3a789..7b6d0a81e0f3c8e33b1b76d5ecbc5bdb25a87249:/prompt.go?ds=sidebyside diff --git a/prompt.go b/prompt.go index 373aab6..546a86b 100644 --- a/prompt.go +++ b/prompt.go @@ -134,8 +134,8 @@ func prompt(name, instructions string) string { // agentTools returns the function tools of every call: zoom, date, shell, // read, write, and edit. A compaction sends them too and never calls them, // because a change of the tools ends the shared prompt cache. -func agentTools() []Tool { - return []Tool{ +func agentTools() []ModelTool { + return []ModelTool{ { Type: "function", Name: "zoom",