Skip to content

Commit

Permalink
Missing constant
Browse files Browse the repository at this point in the history
  • Loading branch information
markedmondson committed Nov 6, 2024
1 parent e804c6a commit ea8a72f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions lib/i18n/tasks/translators/openai_translator.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ module I18n::Tasks::Translators
class OpenAiTranslator < BaseTranslator
# max allowed texts per request
BATCH_SIZE = 25
RETRIES = 2
DEFAULT_SYSTEM_PROMPT = <<~PROMPT.squish
You are a professional translator that translates content from the %{from} locale
to the %{to} locale in an i18n locale array.
Expand Down

0 comments on commit ea8a72f

Please sign in to comment.