RunConfig constructor
RunConfig({
- bool supportCfc = false,
- StreamingMode streamingMode = StreamingMode.none,
- ToolExecutionMode toolExecutionMode = ToolExecutionMode.none,
- int maxLlmCalls = 500,
- Object? speechConfig,
- bool saveLiveBlob = false,
- ToolThreadPoolConfig? toolThreadPoolConfig,
- List<
String> ? responseModalities, - Object? outputAudioTranscription,
- Object? inputAudioTranscription,
- Object? realtimeInputConfig,
- bool? enableAffectiveDialog,
- Object? proactivity,
- Object? sessionResumption,
- Object? historyConfig,
- Object? contextWindowCompression,
- Map<
String, dynamic> ? customMetadata, - GetSessionConfig? getSessionConfig,
- List<
Content> ? modelInputContext, - bool includeThoughtsFromOtherAgents = false,
- 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);
}