ConversationConfig constructor

const ConversationConfig({
  1. required String model,
  2. String? systemPrompt,
  3. int maxTurns = 100,
  4. int maxTokens = 16000,
  5. bool enableThinking = false,
  6. int? thinkingBudget,
  7. bool enableCaching = true,
  8. List<int> cacheBreakpoints = const [],
  9. Duration toolTimeout = const Duration(minutes: 2),
  10. bool planMode = false,
  11. List<String>? allowedTools,
  12. Map<String, String>? toolAliases,
})

Implementation

const ConversationConfig({
  required this.model,
  this.systemPrompt,
  this.maxTurns = 100,
  this.maxTokens = 16000,
  this.enableThinking = false,
  this.thinkingBudget,
  this.enableCaching = true,
  this.cacheBreakpoints = const [],
  this.toolTimeout = const Duration(minutes: 2),
  this.planMode = false,
  this.allowedTools,
  this.toolAliases,
});