summaryrefslogtreecommitdiff
path: root/tools.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-02-08 18:28:47 +0300
committerGrail Finder <wohilas@gmail.com>2025-02-08 18:28:47 +0300
commitc85766139371bb4324826fa8716b3478eea898c1 (patch)
tree2b58fcff3c79751a4d7e5034e035f6f270cb8bc8 /tools.go
parent884004a855980444319769d9b10f9cf6e3ba33cd (diff)
Feat: add tool reminder bind
Diffstat (limited to 'tools.go')
-rw-r--r--tools.go6
1 files changed, 1 insertions, 5 deletions
diff --git a/tools.go b/tools.go
index 94c1b16..d0f7eaf 100644
--- a/tools.go
+++ b/tools.go
@@ -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>
[