summaryrefslogtreecommitdiff
path: root/tools.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2024-12-11 18:43:04 +0300
committerGrail Finder <wohilas@gmail.com>2024-12-11 18:43:04 +0300
commited5cb75134019a7ba063a13b5ff6f9cd296c80dd (patch)
treeb42c92890ed315c149af39c09b211c874e5c7ead /tools.go
parent5f780287aecedf08f94b6a1e0ae2a8822683a3fc (diff)
Refactor: sql on conflict; fix unittest; page names to vars
Diffstat (limited to 'tools.go')
-rw-r--r--tools.go7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools.go b/tools.go
index bb9012e..39c6063 100644
--- a/tools.go
+++ b/tools.go
@@ -9,9 +9,10 @@ import (
)
var (
- toolCallRE = regexp.MustCompile(`__tool_call__\s*([\s\S]*?)__tool_call__`)
- quotesRE = regexp.MustCompile(`(".*?")`)
- starRE = regexp.MustCompile(`(\*.*?\*)`)
+ toolCallRE = regexp.MustCompile(`__tool_call__\s*([\s\S]*?)__tool_call__`)
+ quotesRE = regexp.MustCompile(`(".*?")`)
+ starRE = regexp.MustCompile(`(\*.*?\*)`)
+ // codeBlokRE = regexp.MustCompile(`(\x60\x60\x60.*?\x60\x60\x60)`)
basicSysMsg = `Large Language Model that helps user with any of his requests.`
toolSysMsg = `You're a helpful assistant.
# Tools