diff options
| author | Grail Finder <wohilas@gmail.com> | 2026-01-13 11:02:57 +0300 |
|---|---|---|
| committer | Grail Finder <wohilas@gmail.com> | 2026-01-13 11:02:57 +0300 |
| commit | 0f8fdae0e4fe7f3b00de7dfdfdbbb5b8f5ded415 (patch) | |
| tree | 24fae319da9320fcafb905dd00013c37790eeb18 /tools.go | |
| parent | c942f4bfdb2fb0569752682da71fa845c089239e (diff) | |
Enha: single backtick style
Diffstat (limited to 'tools.go')
| -rw-r--r-- | tools.go | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -24,6 +24,7 @@ var ( starRE = regexp.MustCompile(`(\*.*?\*)`) thinkRE = regexp.MustCompile(`(<think>\s*([\s\S]*?)</think>)`) codeBlockRE = regexp.MustCompile(`(?s)\x60{3}(?:.*?)\n(.*?)\n\s*\x60{3}\s*`) + singleBacktickRE = regexp.MustCompile(`\x60([^\x60]*)\x60`) roleRE = regexp.MustCompile(`^(\w+):`) rpDefenitionSysMsg = ` For this roleplay immersion is at most importance. |
