Skip to content

v0.10.0

Choose a tag to compare

@topunix topunix released this 10 Oct 02:45
· 57 commits to main since this release
07d9e93

Added

  • EXPLAIN_ERRORS_DEDUP (default True): when an error identical to one already explained in this process occurs again, the earlier explanation is replayed instead of calling the model or using a throttle slot. Errors are identical when they share exception type, exception message, and innermost project line (file, line number, and that line's source text). The last 128 distinct errors are kept per worker (least recently used evicted first) and entries never expire on a timer. Set to False to explain every error.

Changed

  • Internal refactor: process_exception is split into _build_prompt and _generate_explanation. No behavior change.

Fixed

  • The async path (acall) no longer dispatches to a thread when DEBUG is False, so the middleware stays fully inert in production.