Skip to content

v1.2.0

Choose a tag to compare

@nathanjstratusadv nathanjstratusadv released this 14 Oct 04:53
· 136 commits to main since this release

Features

  • AsyncFuture has been improved to better handle race conditions and more non-synchronous operations.
  • New process_to_future function added to allow easy creation of your own futures in your project.
  • Service http now available on Agent and Bot for easy interactions with HTTP.
  • New setting FUTURES_MAX_WORKERS with a default value of 10 for controlling system performance.

Changes

  • Refactored async_executor to thread_pool_executor.
  • Changed the setting HTTP_CONNECTION_RETRY_COUNT to default to 4.
  • The Agent now uses TypedBot instead of Bot as a default for processors

Fixes

  • Removed unused argument in SqliteCache.destroyall method.
  • Better management of the thread pool executor used for handling futures.
  • Optimized Prompt.directory_list to be more efficient.
  • Strategically moved coverage up to 94% improving previous tests and covering more edge cases.
  • Improved typing and type handling in dandy.core.typing to be more compatible and flexible.
  • Added proper handling of httpx.TimeoutException to provide better debugging.
  • Reworded a lot of the prompts built into Dandy to improve responses and error correction.