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