copyWith method
AgentConfigAPIModelOutput
copyWith({
- String? firstMessage,
- String? language,
- DynamicVariablesConfig? dynamicVariables,
- PromptAgentOutput? prompt,
Implementation
AgentConfigAPIModelOutput copyWith(
{String? firstMessage,
String? language,
DynamicVariablesConfig? dynamicVariables,
PromptAgentOutput? prompt}) {
return AgentConfigAPIModelOutput(
firstMessage: firstMessage ?? this.firstMessage,
language: language ?? this.language,
dynamicVariables: dynamicVariables ?? this.dynamicVariables,
prompt: prompt ?? this.prompt);
}