copyWith abstract method
ChatModelOptions
copyWith({
- String? model,
- List<
ToolSpec> ? tools, - ChatToolChoice? toolChoice,
- 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,
});