From 24290b27d134d993856883ffd16350f1a6105283 Mon Sep 17 00:00:00 2001 From: Chris Sexton <3216719+chrissexton@users.noreply.github.com> Date: Fri, 27 Sep 2024 11:46:34 -0400 Subject: [PATCH] llm: fix dumb mistake --- plugins/llm/gpt.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/llm/gpt.go b/plugins/llm/gpt.go index 14aed20..1626c2b 100644 --- a/plugins/llm/gpt.go +++ b/plugins/llm/gpt.go @@ -70,7 +70,7 @@ func (p *LLMPlugin) register() { func (p *LLMPlugin) setPromptMessage(r bot.Request) bool { p.c.Set("gemini.systemprompt", r.Values["text"]) - p.b.Send(r.Conn, bot.Message, r.Msg.Channel, fmt.Sprintf(`Okay. I set the prompt to: "%s"`, prompt)) + p.b.Send(r.Conn, bot.Message, r.Msg.Channel, fmt.Sprintf(`Okay. I set the prompt to: "%s"`, r.Values["text"])) return true }