DazedTL/.env.example
2026-06-01 18:57:01 +00:00

63 lines
2.1 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-compatible APIs (If empty it will default to openai.)
API_PROVIDER=openai
# API URL, leave blank to use OpenAI API.
# Nvidia example: "https://integrate.api.nvidia.com/v1/"
api=""
# API key
key=""
#Oranization key, make something up for self hosted or other API. If using Nvidia API, leave it blank or it can get wonky
organization=""
# LLM model name.
# Default below works for OpenAI; for Gemini/Nvidia set your provider model name.
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="5"
#Concurrent API calls per file (threads per file), 1 recommended for free or self hosted API or gpt-4
threads="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"
# Frequency penalty - adjust according to your needs
frequency_penalty= 0.2