ConversationManager constructor

ConversationManager({
  1. required AIProvider provider,
  2. int maxContextTokens = 4096,
  3. int maxToolIterations = 10,
  4. TokenTracker? tokenTracker,
  5. StorageProvider? storage,
})

Implementation

ConversationManager({
  required this.provider,
  this.maxContextTokens = 4096,
  this.maxToolIterations = 10,
  TokenTracker? tokenTracker,
  this.storage,
}) : tokenTracker = tokenTracker ?? TokenTracker();