copyWith method

AgentConfigAPIModelInput copyWith({
  1. String? firstMessage,
  2. String? language,
  3. DynamicVariablesConfig? dynamicVariables,
  4. 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);
}