DazedTL/.env.example
2026-03-13 13:49:44 -05:00

67 lines
No EOL
2.2 KiB
Text

# --------------------------------------------------
# Gemini-Specific Settings (Optional)
# --------------------------------------------------
# Sets the thinking budget for Gemini models.
# - To turn on dynamic thinking, set to -1.
# - To disable thinking (on compatible models like 2.5 Flash), set to 0.
# - To set a specific token budget, use a positive integer (e.g., 8192).
# - Leave this variable out to use the model's default setting.
GEMINI_THINKING_BUDGET=
# Set to "gemini" to use the Gemini API or "openai" for OpenAI (If empty it will default to openai.)
API_PROVIDER=openai
#API link, leave blank to use OpenAI API
api=""
#API key
key=""
#Oranization key, make something up for self hosted or other API
organization=""
#LLM model name, use gpt-3.5-turbo-1106 or gpt-3.5-turbo or gpt-4-1106-preview for OpenAI API
#For text generation webui use gpt-3.5-turbo, for other API's consult their documentation
model="gpt-4.1"
#The language to translate TO, Don't forget to change the prompt
language="English"
#The timeout before disconnect error, 30 to 120 recommended
timeout="120"
#The number of files to translate at the same time, 1 recommended for free or self hosted API or gpt-4
fileThreads="1"
#The wordwrap of dialogue text
width="60"
#The wordwrap of items and help text
listWidth="100"
#The wordwrap of items and help text
noteWidth="75"
#CSV delimiter character (comma, semicolon, or tab)
csvDelimiter=","
# Custom input API cost - default value for gpt-3.5, replace with your actual input API cost - depends on the model, see https://openai.com/pricing
input_cost= 0.002
# Custom output API cost - default value for gpt-3.5, replace with your actual input API cost - depends on the model, see https://openai.com/pricing
output_cost= 0.002
# Batch size - adjust according to your API's limitations
batchsize="10"
# Estimate Prompt Cache Rate.
estimate_cache_rate='0.7'
# Frequency penalty - adjust according to your needs
frequency_penalty= 0.2
# Assumed prompt-cache hit rate for Claude/Sonnet/Haiku/Opus cost estimates.
# 0.9 = 90% of input tokens billed at 10% (cache read rate), giving a much
# lower estimate than the full input rate. Set to 0 to disable the discount.
ESTIMATE_CACHE_RATE=0.9