Skip to content

Commit

Permalink
FIX: incorrect localisation key
Browse files Browse the repository at this point in the history
  • Loading branch information
merefield committed Jun 11, 2024
1 parent 2622e15 commit 70fef97
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/discourse_chatbot/bots/open_ai_bot_rag.rb
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def generate_response(opts)
if legal_urls?(res["choices"][0]["message"]["content"], @posts_ids_found, @topic_ids_found)
return res
else
@inner_thoughts << { role: 'user', content: I18n.t("chatbot.prompt.rag.illegal_urls") }
@inner_thoughts << { role: 'user', content: I18n.t("chatbot.prompt.system.rag.illegal_urls") }
end
else
return res
Expand Down
2 changes: 1 addition & 1 deletion plugin.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# frozen_string_literal: true
# name: discourse-chatbot
# about: a plugin that allows you to have a conversation with a configurable chatbot in Discourse Chat, Topics and Private Messages
# version: 0.9.28
# version: 0.9.29
# authors: merefield
# url: https://github.com/merefield/discourse-chatbot

Expand Down

0 comments on commit 70fef97

Please sign in to comment.