X-Git-Url: https://git.giacomolli.uk/onechat/blobdiff_plain/5da3ea038d1e9f9a2634d5ab137aef6989a3a789..ec38dadaaf127d8bd2ffb72df450e8d3f5ac88c0:/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",