diff options
| author | Paul Buetow <paul@buetow.org> | 2025-07-22 07:54:57 +0300 |
|---|---|---|
| committer | Paul Buetow <paul@buetow.org> | 2025-07-22 07:54:57 +0300 |
| commit | 1cc15cfbd68d45ae6d561e5659422e72bf9ecd1d (patch) | |
| tree | 92bd29d34fed9c4d28cfe4d94e35b040c0b505bc /internal/processor/processor.go | |
| parent | 1365dde5c25e1865b82fbfea50208327d5e3a51c (diff) | |
Remove audio cache feature to simplify codebase and avoid cache-related issues
🤖 Generated with [opencode](https://opencode.ai)
Co-Authored-By: opencode <noreply@opencode.ai>
Diffstat (limited to 'internal/processor/processor.go')
| -rw-r--r-- | internal/processor/processor.go | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/internal/processor/processor.go b/internal/processor/processor.go index 43e75ca..1e1c20f 100644 --- a/internal/processor/processor.go +++ b/internal/processor/processor.go @@ -263,15 +263,6 @@ func (p *Processor) generateAudioWithVoice(word, voice string) error { OpenAIVoice: voice, OpenAISpeed: speed, OpenAIInstruction: p.flags.OpenAIInstruction, - - // Caching - EnableCache: viper.GetBool("audio.enable_cache"), - CacheDir: viper.GetString("audio.cache_dir"), - } - - // Set defaults - if providerConfig.CacheDir == "" { - providerConfig.CacheDir = "./.audio_cache" } // Use config file values if not overridden by flags |
