From c85766139371bb4324826fa8716b3478eea898c1 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 8 Feb 2025 18:28:47 +0300 Subject: Feat: add tool reminder bind --- tools.go | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'tools.go') 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(`(.*?)`) 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: [ -- cgit v1.2.3