summaryrefslogtreecommitdiff
path: root/bot.go
diff options
context:
space:
mode:
authorGrail Finder <wohilas@gmail.com>2024-11-23 18:34:02 +0300
committerGrail Finder <wohilas@gmail.com>2024-11-23 18:34:02 +0300
commit6625a8103bb70833e2399567cbbe7f3b4a8da429 (patch)
tree9e5c76cc406a6fa6b12405da957363fb78ae2f21 /bot.go
parent692e0ada4b6115078485a9bc867c99d2c85d8dd9 (diff)
Feat: add switch between sys promptsHEADmaster
Diffstat (limited to 'bot.go')
-rw-r--r--bot.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.go b/bot.go
index 6b15a3e..d4c86f0 100644
--- a/bot.go
+++ b/bot.go
@@ -23,13 +23,13 @@ var httpClient = http.Client{
var (
logger *slog.Logger
- APIURL = "http://localhost:8080/v1/chat/completions"
userRole = "user"
assistantRole = "assistant"
toolRole = "tool"
assistantIcon = "<🤖>: "
userIcon = "<user>: "
// TODO: pass as an cli arg or have config
+ APIURL = "http://localhost:8080/v1/chat/completions"
logFileName = "log.txt"
showSystemMsgs bool
chunkLimit = 1000