AgentUsageSnapshot constructor

const AgentUsageSnapshot({
  1. required String threadPath,
  2. required int contextUsedTokens,
  3. required int? contextTotalTokens,
  4. required double? totalTokens,
  5. required Map<String, double> usage,
  6. String? compactionMode,
  7. int? compactionThreshold,
  8. String? turnId,
})

Implementation

const AgentUsageSnapshot({
  required this.threadPath,
  required this.contextUsedTokens,
  required this.contextTotalTokens,
  required this.totalTokens,
  required this.usage,
  this.compactionMode,
  this.compactionThreshold,
  this.turnId,
});