Skip to content

V0.7.1

Choose a tag to compare

@JohnRichard4096 JohnRichard4096 released this 29 Mar 01:28
· 105 commits to main since this release
49b1930

Release 0.7.1

This patch release refactors exception handling in agent strategies, providing better control over error propagation and simplifying the built-in agent's internal flow.

Changes

  • New exception NoExceptionHandler: Raised by AgentStrategy.on_exception when a strategy intentionally does not handle an exception (replacing the previous default behavior of appending an error message to the context).
  • Base strategy: AgentStrategy.on_exception now raises NoExceptionHandler instead of mutating the context.
  • Built-in agent (AmritaAgentStrategy):
    • Overrides on_exception to do nothing (exceptions are already handled within the strategy).
    • Removed the internal Continue exception; the reasoning tool now returns directly.
    • Improved tool execution error logging (no longer re‑raises ProcEXC).
  • Chat manager: Suppresses NoExceptionHandler when calling on_exception, preventing unnecessary propagation.
  • Tests: Updated test_agent_strategy_on_exception to expect the new exception.

These changes make exception handling more predictable and reduce redundant error messages during agent execution. No breaking changes are introduced.

What's Changed

Full Changelog: 0.7.0...0.7.1