Skip to content

v0.9.0 - Persistent Cache & Cache Management

Choose a tag to compare

@github-actions github-actions released this 13 Feb 20:27
· 42 commits to master since this release
v0.9.0
605a5d6

Added

  • Persistent work_dir default: Default work_dir now uses platform-appropriate cache directory:
    • Linux: ~/.cache/audiorag
    • macOS: ~/Library/Caches/audiorag
    • Windows: %LOCALAPPDATA%\audiorag
  • Cache management CLI: New commands to manage cached audio files:
    • audiorag cache info - Show cache location and size
    • audiorag cache clear - Clear all cached audio files
  • Cache management SDK: New methods on AudioRAGPipeline:
    • pipeline.clear_cache() - Clear cache, returns count of items removed
    • pipeline.get_cache_info() - Get cache location, file count, and size

Fixed

  • Type safety: Fixed type checking for metadata.duration attribute access in budget reservation logic.