history property

  1. @TagNumber.new(2)
PbList<ToolCallingHistoryTurn> get history

Prior turns, EXCLUDING the current turn (which is prompt). commons threads these into every generate in the loop so multi-turn tool use keeps context.

Implementation

@$pb.TagNumber(2)
$pb.PbList<ToolCallingHistoryTurn> get history => $_getList(1);