From 1cc15cfbd68d45ae6d561e5659422e72bf9ecd1d Mon Sep 17 00:00:00 2001 From: Paul Buetow Date: Tue, 22 Jul 2025 07:54:57 +0300 Subject: Remove audio cache feature to simplify codebase and avoid cache-related issues MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 🤖 Generated with [opencode](https://opencode.ai) Co-Authored-By: opencode --- internal/processor/processor.go | 9 --------- 1 file changed, 9 deletions(-) (limited to 'internal/processor/processor.go') 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 -- cgit v1.2.3