Skip to content

v0.5.1 - Graceful Exit Handling

Choose a tag to compare

@github-actions github-actions released this 12 Feb 09:10
· 91 commits to master since this release
8175727

Added

  • Graceful exit handling for SDK and CLI:
    • Added AudioRAGPipeline.close() method for explicit resource cleanup (idempotent)
    • Added async context manager support (__aenter__/__aexit__) for automatic cleanup
    • Resources cleaned up automatically on success, failure, or interruption
    • SIGTERM/SIGINT signal handlers in CLI for graceful shutdown
  • New test coverage for cleanup behavior (5 comprehensive tests)

Changed

  • Updated all documentation examples to use async with syntax
  • CLI index and query commands now use async context managers

Documentation

  • Added "Graceful exit" to README.md features list
  • Added Resource Cleanup section to quickstart.md
  • Documented close() method and context manager in api-reference.md