diff options
author | Grail Finder <wohilas@gmail.com> | 2025-02-08 18:28:47 +0300 |
---|---|---|
committer | Grail Finder <wohilas@gmail.com> | 2025-02-08 18:28:47 +0300 |
commit | c85766139371bb4324826fa8716b3478eea898c1 (patch) | |
tree | 2b58fcff3c79751a4d7e5034e035f6f270cb8bc8 /tools.go | |
parent | 884004a855980444319769d9b10f9cf6e3ba33cd (diff) |
Feat: add tool reminder bind
Diffstat (limited to 'tools.go')
-rw-r--r-- | tools.go | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -14,12 +14,8 @@ var ( starRE = regexp.MustCompile(`(\*.*?\*)`) thinkRE = regexp.MustCompile(`(<think>.*?</think>)`) codeBlockRE = regexp.MustCompile(`(?s)\x60{3}(?:.*?)\n(.*?)\n\s*\x60{3}\s*`) - // codeBlockRE = regexp.MustCompile("```\s*([\s\S]*?)```") - // codeBlockRE = 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 -You can do functions call if needed. + toolSysMsg = `You can do functions call if needed. Your current tools: <tools> [ |