]> git.giacomolli.uk - onechat/blob - prompt_helper_test.go
Give the root tools to start and message children
[onechat] / prompt_helper_test.go
1 package main
2
3 // promptToolNames returns the names of tools.
4 func promptToolNames(tools []ModelTool) []string {
5         names := make([]string, len(tools))
6         for n, tool := range tools {
7                 names[n] = tool.Name
8         }
9
10         return names
11 }