llm: fix dumb mistake

This commit is contained in:
Chris Sexton 2024-09-27 11:46:34 -04:00
parent 0dfefe297f
commit 24290b27d1
1 changed files with 1 additions and 1 deletions

View File

@ -70,7 +70,7 @@ func (p *LLMPlugin) register() {
func (p *LLMPlugin) setPromptMessage(r bot.Request) bool { func (p *LLMPlugin) setPromptMessage(r bot.Request) bool {
p.c.Set("gemini.systemprompt", r.Values["text"]) 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 return true
} }