Feat: add tool reminder bind

This commit is contained in:
Grail Finder
2025-02-08 18:28:47 +03:00
parent 884004a855
commit c857661393
7 changed files with 33 additions and 61 deletions

View File

@@ -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>
[