copyWith abstract method

  1. @override
ChatModelOptions copyWith({
  1. String? model,
  2. List<ToolSpec>? tools,
  3. ChatToolChoice? toolChoice,
  4. int? concurrencyLimit,
})
override

Creates a copy of this RunnableOptions with the given fields replaced by the new values.

Implementation

@override
ChatModelOptions copyWith({
  final String? model,
  final List<ToolSpec>? tools,
  final ChatToolChoice? toolChoice,
  final int? concurrencyLimit,
});