ToolStatsRow#

Let a model keep its own tools and notes in a repository on disk. See the guide.

class zett_agent.jit_harness.results.ToolStatsRow[源代码]#

What one tool has done so far, in the few numbers that decide whether to keep it.

origin: ToolOrigin#

Registry that serves the tool; see ToolOrigin.

status: ToolStatus#

loaded when callable now, unloaded while hidden.

calls: int#

Dispatch attempts, whatever their outcome.

success_rate: float | None#

completed / (completed + failed), or None before the first finished call. Rejected and cancelled attempts say nothing about the tool and are left out.

avg_ms: float | None#

Mean wall time of an attempt in milliseconds, nested calls included.

avg_output_chars: float | None#

what it costs to read. The message of a failed call counts, since the model reads that too.

Type:

Mean size of what a call handed back, in characters

recent_errors: list[str]#

Most recent distinct errors as Type: message, shortened. One per tool in the overview, up to three for a tool asked for by name.