summaryrefslogtreecommitdiff
path: root/tools.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2025-01-28 20:40:09 +0300
committerGrail Finder <wohilas@gmail.com>2025-01-28 20:40:09 +0300
commit7bf18dede570116b4508b2c936106ed4bf47d55b (patch)
tree3391b360a859589a2019a8da2cf5c72c8c33d3c3 /tools.go
parent976d6423ac0f0b80efb2c933d8c3e6a816507c54 (diff)
Feat: edit agent png cards
Diffstat (limited to 'tools.go')
-rw-r--r--tools.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools.go b/tools.go
index 0c63976..8fda0ab 100644
--- a/tools.go
+++ b/tools.go
@@ -12,6 +12,7 @@ var (
toolCallRE = regexp.MustCompile(`__tool_call__\s*([\s\S]*?)__tool_call__`)
quotesRE = regexp.MustCompile(`(".*?")`)
starRE = regexp.MustCompile(`(\*.*?\*)`)
+ thinkRE = regexp.MustCompile(`(<think>.*?</think>)`)
// 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.