]> git.giacomolli.uk - onechat/blobdiff - prompt.go
Name and order the build queue code
[onechat] / prompt.go
index 373aab632818b73ae802eb1767f53befda1b9f6c..546a86b4c2eec9aa7abf408614f14e351afbca32 100644 (file)
--- 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",