From 6625a8103bb70833e2399567cbbe7f3b4a8da429 Mon Sep 17 00:00:00 2001 From: Grail Finder Date: Sat, 23 Nov 2024 18:34:02 +0300 Subject: Feat: add switch between sys prompts --- bot.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'bot.go') 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 = ": " // TODO: pass as an cli arg or have config + APIURL = "http://localhost:8080/v1/chat/completions" logFileName = "log.txt" showSystemMsgs bool chunkLimit = 1000 -- cgit v1.2.3