add GeneralConfig with Language field to config types

This commit is contained in:
leonardotrapani
2026-02-01 13:14:41 +01:00
parent ef953eab3f
commit da8a1e5b0e
3 changed files with 15 additions and 2 deletions
+8 -1
View File
@@ -505,4 +505,11 @@ Started: Sun Feb 1 12:22:47 AM CET 2026
- Added Language-Model Compatibility section with English-only models table
- Documented validation behavior: config-time hard error + runtime fallback with notification
- Added example configurations: Local Transcription, Deepgram Streaming, Ultra-Low Latency Streaming
- Typecheck passes
- Typecheck passes
### Task 47: Add GeneralConfig with Language field to config types
- Added `GeneralConfig` struct to internal/config/types.go with Language string field
- Added `General GeneralConfig` field to Config struct with toml tag 'general'
- Language field has ISO 639-1 code comment, empty for auto-detect
- TranscriptionConfig.Language kept for backwards compat (will be used as override)
- All tests passing, typecheck passes