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 }