Skip to content

tole v0.8.1

Choose a tag to compare

@ajianaz ajianaz released this 09 Oct 09:54
· 113 commits to main since this release
42e0096

Usage reporting, chunked read_file, scan-driven fixes.

Fixed

  • The usage report no longer renders an absent per-step messages count as a measured 0; it is null in the status JSON when unknown (found by the pre-tag scan).
  • read_file rejects an empty path with a clear message instead of a confusing "is a directory" error.

Added

  • tole status and the serve status JSON now report token usage, cache-hit rate and a per-step request-size split (system+tools vs history, stored per step under tole_wire in the usage record); fact/mission gains cached_tokens. Instrumentation only: the wire, budgets and durable entry shapes are unchanged (#211, part 1 of 3).

Changed

  • read_file now returns at most 20,000 characters per call and accepts offset/limit (characters); the result carries truncated, total_chars and next_offset so large files are read in chunks instead of being re-sent whole on every later step (#211, part 3 of 3).