summaryrefslogtreecommitdiff
path: root/assets/config.yaml.example
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-04-01 13:15:13 +0300
committerPaul Buetow <paul@buetow.org>2026-04-01 13:15:13 +0300
commitd3fe3586f50545575978f8d73a649afabc915008 (patch)
treedf11fc9e4c684ccabe9cf3fb006fc5fb616d3eb0 /assets/config.yaml.example
parent5b88a045b29970a3cc057326b85eae58ab41fe02 (diff)
zr: preserve Gemini init errors and docs
Diffstat (limited to 'assets/config.yaml.example')
-rw-r--r--assets/config.yaml.example11
1 files changed, 11 insertions, 0 deletions
diff --git a/assets/config.yaml.example b/assets/config.yaml.example
index 3988035..18d4513 100644
--- a/assets/config.yaml.example
+++ b/assets/config.yaml.example
@@ -23,6 +23,17 @@ audio:
# openai_instruction: "You are a Bulgarian language teacher. Pronounce the Bulgarian words slowly with authentic Bulgarian accent and phonetics."
# openai_instruction: "Speak Bulgarian text with proper Bulgarian pronunciation. Avoid Russian accent. Speak clearly at a pace suitable for beginners."
+# Translation configuration
+translation:
+ # Translation backend used by internal/translation/translator.go
+ # Supported values: openai (default) or gemini
+ provider: openai
+
+# Google API settings
+google:
+ # Used by Gemini translation when translation.provider is set to gemini
+ api_key: ${GOOGLE_API_KEY}
+
# Image configuration
image:
# Provider: currently only openai is supported