Skip to content
This repository was archived by the owner on Apr 29, 2025. It is now read-only.

v0.0.20

Compare
Choose a tag to compare
@azdolinski azdolinski released this 21 Jan 22:28
· 4 commits to main since this release

[0.0.20] - 2025-01-21 Milestone Alpha1

Added:

  • Added AsyncExitStack import from contextlib
  • Completely rewrote the aexit method to use AsyncExitStack for better resource management
  • Key improvements:
    • Uses AsyncExitStack to properly manage both async and sync resources
    • Handles context managers directly through enter_async_context and enter_context
    • Uses push_async_callback and push_callback for explicit resource cleanup
    • Better error handling with more descriptive logging
    • Cleaner code structure with proper async/await patterns
  • added _auto_track_large_object method to track large objects and prevent memory leaks
  • add factory create method to create SimpleTool instances
  • tool.info now return Dict and not str

[0.0.19] - 2025-01-19 Milestone Alpha2

Added

  • Make SimpleTool picklable - only serializing essential attributes
  • add output_schema in info property
  • add AsyncExitStack for tracking async resources

[0.0.18] - 2025-01-13 Milestone Alpha2

Fixed

  • missing SimpleTool name and description validation rules