Expand description
Whether a tool-call batch is read-only.
Separated from the detector because it answers a different question. The
detector counts repeats; this decides which allowance a repeat is held to.
Keeping them apart also leaves mod.rs room to change.
Constantsยง
- COSTLY_
OBSERVATION_ ๐TOOLS - Shipped observation entries that are read-only here but not free to repeat.
Functionsยง
- covers_
whole_ ๐segments - Whether
patoccupies a whole run ofsegments. - is_
costly_ ๐batch - Return
trueif any call incallscosts something to repeat. - is_
observation_ batch - Return
trueif every call incallsis an observation-only tool. - split_
segments ๐ - Split a tool name on the separators clients build compound names from.