diff options
author | Grail Finder <wohilas@gmail.com> | 2024-12-11 18:43:04 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2024-12-11 18:43:04 +0300 |
commit | ed5cb75134019a7ba063a13b5ff6f9cd296c80dd (patch) | |
tree | b42c92890ed315c149af39c09b211c874e5c7ead /tools.go | |
parent | 5f780287aecedf08f94b6a1e0ae2a8822683a3fc (diff) |
Refactor: sql on conflict; fix unittest; page names to vars
Diffstat (limited to 'tools.go')
-rw-r--r-- | tools.go | 7 |
1 files changed, 4 insertions, 3 deletions
@@ -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 |