mirror of
https://github.com/dogkeeper886/ollama37.git
synced 2025-12-10 15:57:04 +00:00
tools test
This commit is contained in:
@@ -13,7 +13,6 @@ import (
|
||||
"sync"
|
||||
"text/template"
|
||||
"text/template/parse"
|
||||
"time"
|
||||
|
||||
"github.com/agnivade/levenshtein"
|
||||
"github.com/ollama/ollama/api"
|
||||
@@ -108,9 +107,6 @@ var funcs = template.FuncMap{
|
||||
b, _ := json.Marshal(v)
|
||||
return string(b)
|
||||
},
|
||||
"now": func() string {
|
||||
return time.Now().Format("2006-01-02 15:04:05")
|
||||
},
|
||||
}
|
||||
|
||||
func Parse(s string) (*Template, error) {
|
||||
|
||||
Reference in New Issue
Block a user