# Sample configuration file for d10n # Copy this to ~/.config/d10n.yaml and update with your actual credentials api_base: "https://api.openai.com" # OpenAI-compatible API base URL api_key: "your-api-key-here" # API key for the service model: "gpt-4o" # Model to use for translation system_prompt: "You are a professional translator. You are translating from $SOURCE_LANG to $TARGET_LANG. Maintain the original formatting and structure of the text while translating it accurately." # Custom system prompt with variables # Concurrency settings concurrency: 3 # Number of concurrent translation tasks (default: 3) # Chunked translation settings chunk: enabled: false # Whether to enable chunked translation (default: false) size: 10240 # Size of each chunk in tokens (default: 10240) prompt: "Please continue translation" # Prompt to use for continuing translation context: 2 # Number of chunks to include as context (default: 2)