ConversationConfig constructor
const
ConversationConfig({
- required String model,
- String? systemPrompt,
- int maxTurns = 100,
- int maxTokens = 16000,
- bool enableThinking = false,
- int? thinkingBudget,
- bool enableCaching = true,
- List<
int> cacheBreakpoints = const [], - Duration toolTimeout = const Duration(minutes: 2),
- bool planMode = false,
- List<
String> ? allowedTools, - 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,
});