RunConfig constructor

RunConfig({
  1. bool supportCfc = false,
  2. StreamingMode streamingMode = StreamingMode.none,
  3. ToolExecutionMode toolExecutionMode = ToolExecutionMode.none,
  4. int maxLlmCalls = 500,
  5. Object? speechConfig,
  6. bool saveLiveBlob = false,
  7. ToolThreadPoolConfig? toolThreadPoolConfig,
  8. List<String>? responseModalities,
  9. Object? outputAudioTranscription,
  10. Object? inputAudioTranscription,
  11. Object? realtimeInputConfig,
  12. bool? enableAffectiveDialog,
  13. Object? proactivity,
  14. Object? sessionResumption,
  15. Object? historyConfig,
  16. Object? contextWindowCompression,
  17. Map<String, dynamic>? customMetadata,
  18. GetSessionConfig? getSessionConfig,
  19. List<Content>? modelInputContext,
  20. bool includeThoughtsFromOtherAgents = false,
  21. Map<String, String>? labels,
})

Creates a run configuration.

Implementation

RunConfig({
  this.supportCfc = false,
  this.streamingMode = StreamingMode.none,
  this.toolExecutionMode = ToolExecutionMode.none,
  this.maxLlmCalls = 500,
  this.speechConfig,
  this.saveLiveBlob = false,
  this.toolThreadPoolConfig,
  this.responseModalities,
  this.outputAudioTranscription,
  this.inputAudioTranscription,
  this.realtimeInputConfig,
  this.enableAffectiveDialog,
  this.proactivity,
  this.sessionResumption,
  this.historyConfig,
  this.contextWindowCompression,
  this.customMetadata,
  this.getSessionConfig,
  this.modelInputContext,
  this.includeThoughtsFromOtherAgents = false,
  this.labels,
}) {
  maxLlmCalls = validateMaxLlmCalls(maxLlmCalls);
}