CliConfig constructor

CliConfig({
  1. String providerKind = 'openai-completions',
  2. String modelId = 'openai/gpt-4o-mini',
  3. String baseUrl = 'https://openrouter.ai/api/v1',
  4. String mode = 'code',
  5. String approvalMode = 'yolo',
  6. List<String> allowedTools = const [],
  7. Map<String, String> promptOverrides = const {},
  8. ModelRolesConfig? modelRoles,
  9. TtsrConfig? ttsr,
})

Implementation

CliConfig({
  this.providerKind = 'openai-completions',
  this.modelId = 'openai/gpt-4o-mini',
  this.baseUrl = 'https://openrouter.ai/api/v1',
  this.mode = 'code',
  this.approvalMode = 'yolo',
  this.allowedTools = const [],
  this.promptOverrides = const {},
  this.modelRoles,
  this.ttsr,
});